lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Switching TestSetPageLocked to trylock_page
Date
On Tuesday 05 August 2008 14:25, Linus Torvalds wrote:
> On Tue, 5 Aug 2008, Nick Piggin wrote:
> > The part that helps x86 is another patch further down my stack, which
> > can avoid looking at the hashed page waitqueue at unlock_page-time.
> > Basically this eliminates the entire page waitqueue from the cache
> > footprint of fastpath workloads where the lock is uncontended (often:
> > page faulting, write(2), writeout etc).
>
> Hmm. Tell me more. Contention bit?

Exactly. This is around the latest one online from a quick google:

http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/lock-bitops/2.6.22-rc4/mm-unlock-speedup.patch


\
 
 \ /
  Last update: 2008-08-05 06:49    [W:0.095 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site