Re: [patch] notifiers: fix blocking_notifier_call_chain() scalability

2007-01-23 Thread Nick Piggin
Peter Zijlstra wrote: On Tue, 2007-01-23 at 10:45 +0100, Ingo Molnar wrote: The fix is to enhance blocking_notifier_call_chain() to only take the lock if there appears to be work on the call-chain. With this patch applied i get nicely saturated system, and much higher munmap performance, on

Re: [patch] notifiers: fix blocking_notifier_call_chain() scalability

2007-01-23 Thread Peter Zijlstra
On Tue, 2007-01-23 at 10:45 +0100, Ingo Molnar wrote: > Subject: [patch] notifiers: fix blocking_notifier_call_chain() scalability > From: Ingo Molnar <[EMAIL PROTECTED]> > > while lock-profiling the -rt kernel i noticed weird contention during > mmap-intense workloads, and

[patch] notifiers: fix blocking_notifier_call_chain() scalability

2007-01-23 Thread Ingo Molnar
Subject: [patch] notifiers: fix blocking_notifier_call_chain() scalability From: Ingo Molnar <[EMAIL PROTECTED]> while lock-profiling the -rt kernel i noticed weird contention during mmap-intense workloads, and the tracer showed the following gem, in one of our MM hotpaths: threaded-2