Messages in this thread | | | From | Nick Piggin <> | Subject | Re: Switching TestSetPageLocked to trylock_page | Date | Tue, 5 Aug 2008 14:46:52 +1000 |
| |
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
| |