--- linux-2.6-npiggin/include/linux/pid.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/linux/pid.h~pid-search-cacheline include/linux/pid.h --- linux-2.6/include/linux/pid.h~pid-search-cacheline 2004-08-22 15:14:33.000000000 +1000 +++ linux-2.6-npiggin/include/linux/pid.h 2004-08-22 15:16:33.000000000 +1000 @@ -12,11 +12,12 @@ enum pid_type struct pid { + /* Try to keep hash_chain in the same cacheline as nr for find_pid */ + struct hlist_node hash_chain; int nr; atomic_t count; struct task_struct *task; struct list_head task_list; - struct hlist_node hash_chain; }; struct pid_link _