Re: [patch] sched: schedstat needs a diet

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ken Chen <kenchen@...>
Cc: Peter Zijlstra <peterz@...>, Ingo Molnar <mingo@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Thursday, October 18, 2007 - 7:13 pm

* Ken Chen (kenchen@google.com) wrote:

Generally speaking, if such cache trashing is an issue, why don't we
make sure that each task struct member is declared in this structure
following its access frequency ? (except for #ifdef blocks, which should
stay together) It could then statistically save a lot of cachelines.

Or is it already the case ? It doesn't look like it when I see:

struct list_head ptrace_list;

Just beside the 

struct mm_struct *mm, *active_mm;

pointers.

Mathieu

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] sched: schedstat needs a diet, Ken Chen, (Tue Oct 16, 4:37 pm)
Re: [patch] sched: schedstat needs a diet, Ingo Molnar, (Wed Oct 17, 3:23 am)
Re: [patch] sched: schedstat needs a diet, Peter Zijlstra, (Wed Oct 17, 5:29 am)
Re: [patch] sched: schedstat needs a diet, Mathieu Desnoyers, (Thu Oct 18, 6:19 pm)
Re: [patch] sched: schedstat needs a diet, Ken Chen, (Thu Oct 18, 6:57 pm)
Re: [patch] sched: schedstat needs a diet , Rick Lindsley, (Wed Oct 31, 5:06 am)
Re: [patch] sched: schedstat needs a diet, Mathieu Desnoyers, (Thu Oct 18, 7:13 pm)