Re: [PATCH -v5][RFC]: mutex: implement adaptive spinning

2009-01-07 Thread Peter W. Morreale
On Wed, 2009-01-07 at 15:51 -0700, Peter W. Morreale wrote: > On Wed, 2009-01-07 at 23:33 +0100, Ingo Molnar wrote: > > * Gregory Haskins wrote: > > > > > Can I ask a simple question in light of all this discussion? > > > > > > "Is get_task_s

Re: [PATCH -v5][RFC]: mutex: implement adaptive spinning

2009-01-07 Thread Peter W. Morreale
On Wed, 2009-01-07 at 23:33 +0100, Ingo Molnar wrote: > * Gregory Haskins wrote: > > > Can I ask a simple question in light of all this discussion? > > > > "Is get_task_struct() really that bad?" > > it dirties a cacheline and it also involves atomics. > > Also, it's a small design cleanliness