Re: [PATCH] vfs: Avoid IPI storm due to bh LRU invalidation

From: Gilad Ben-Yossef
Date: Wed Feb 08 2012 - 02:10:08 EST


On Tue, Feb 7, 2012 at 8:29 PM, Jan Kara <jack@xxxxxxx> wrote:
> On Tue 07-02-12 18:25:18, Gilad Ben-Yossef wrote:
>> On Tue, Feb 7, 2012 at 12:25 AM, Jan Kara <jack@xxxxxxx> wrote:
...
>> I think its worth a shot since the mutex just delays the IPIs instead
>> of canceling them
>> altogether.
>  Well, mutex will just delay callers but the sequence logic behind the
> mutex will reduce number of IPIs a lot - all waiters for mutex will be
> satisfied by a single signalling of all CPUs while previously they would
> each do the signalling.

Oh, you are right. I've missed that part completely. Note to self: never try to
read LKML email on your smartphone...

Gilad


--
Gilad Ben-Yossef
Chief Coffee Drinker
gilad@xxxxxxxxxxxxx
Israel Cell: +972-52-8260388
US Cell: +1-973-8260388
http://benyossef.com

"If you take a class in large-scale robotics, can you end up in a
situation where the homework eats your dog?"
 -- Jean-Baptiste Queru
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/