diff options
author | Samuel Thibault <sthibault@debian.org> | 2008-12-29 21:21:13 +0000 |
---|---|---|
committer | Samuel Thibault <sthibault@debian.org> | 2008-12-29 21:21:13 +0000 |
commit | 2c423b1b1f9faf401f99e189f3057d72d3270fd2 (patch) | |
tree | cd0bc628e354853b3caee1898906ca9aa90f6dd8 /debian/patches | |
parent | bfaa5570da349bfe8680e094ba5a732f77820de5 (diff) |
* Add debian/patches/17_ipc_queue_local.patch to favor IPC thread locality.
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/17_ipc_queue_local.patch | 16 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/17_ipc_queue_local.patch b/debian/patches/17_ipc_queue_local.patch new file mode 100644 index 0000000..1aef8d9 --- /dev/null +++ b/debian/patches/17_ipc_queue_local.patch @@ -0,0 +1,16 @@ +2008-12-29 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * ipc/ipc_thread.h (ipc_thread_enqueue_macro): Change IPC thread queue + head to last added thread to favor locality. + +diff -u -p -r1.1.1.1 ipc_thread.h +--- a/ipc/ipc_thread.h 25 Feb 1997 21:28:19 -0000 1.1.1.1 ++++ b/ipc/ipc_thread.h 29 Dec 2008 20:45:57 -0000 +@@ -103,6 +103,7 @@ MACRO_BEGIN \ + (thread)->ith_prev = _last; \ + _first->ith_prev = (thread); \ + _last->ith_next = (thread); \ ++ (queue)->ithq_base = (thread); \ + } \ + MACRO_END + diff --git a/debian/patches/series b/debian/patches/series index 7f434cb..a2e816e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,6 +6,7 @@ 14_alloc_params.patch 15_mem_obj_proxy.patch 16_ide_multsect.patch +17_ipc_queue_local.patch 20_mmx_support.patch 24_pci_irq_fix.patch 40_iopl_mmap.patch |