[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111003013855.GG31799@mtj.dyndns.org>
Date: Sun, 2 Oct 2011 18:38:55 -0700
From: Tejun Heo <htejun@...il.com>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Matt Fleming <matt@...sole-pimps.org>,
Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org,
Tony Luck <tony.luck@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
akpm@...ux-foundation.org, torvalds@...ux-foundation.org
Subject: Re: [RFC][PATCH 0/5] Signal scalability series
Hello,
(cc'ing Andrew and Linus)
On Sat, Oct 01, 2011 at 03:03:29PM +0200, Peter Zijlstra wrote:
> On Sat, 2011-10-01 at 11:16 +0100, Matt Fleming wrote:
> > I also think Thomas/Peter mentioned something about latency in
> > delivering timer signals because of contention on the per-process
> > siglock. They might have some more details on that.
>
> Right, so signal delivery is O(nr_threads), which precludes being able
> to deliver signals from hardirq context, leading to lots of ugly in -rt.
Signal delivery is O(#threads)? Delivery of fatal signal is of course
but where do we walk all threads during non-fatal signal deliveries?
What am I missing?
> Breaking up the multitude of uses of siglock certainly seems worthwhile
> esp. if it also allows for a cleanup of the horrid mess called
> signal_struct (which really should be called process_struct or so).
>
> And yes, aside from that the siglock can be quite contended because its
> pretty much the one lock serializing all of the process wide state.
Hmmm... can you please be a bit more specific? I personally has never
seen a case where siglock becomes a problem and IIUC Matt also doesn't
have actual use case at hand. Given the fragile nature of this part
of kernel, it would be nice to know what the return is.
Thank you.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists