All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad@benyossef.com>
To: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	"Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>,
	linux-fsdevel@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	hare@suse.de, Al Viro <viro@zeniv.linux.org.uk>,
	Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH] vfs: Avoid IPI storm due to bh LRU invalidation
Date: Wed, 8 Feb 2012 09:09:30 +0200	[thread overview]
Message-ID: <CAOtvUMet_L9s5+jYF=_kb_N86dNmC6G1rhLQ7JzNfWC0J9UcSw@mail.gmail.com> (raw)
In-Reply-To: <20120207182926.GD1043@quack.suse.cz>

On Tue, Feb 7, 2012 at 8:29 PM, Jan Kara <jack@suse.cz> 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@suse.cz> 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@benyossef.com
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

WARNING: multiple messages have this Message-ID (diff)
From: Gilad Ben-Yossef <gilad@benyossef.com>
To: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	"Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>,
	linux-fsdevel@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	hare@suse.de, Al Viro <viro@zeniv.linux.org.uk>,
	Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH] vfs: Avoid IPI storm due to bh LRU invalidation
Date: Wed, 8 Feb 2012 09:09:30 +0200	[thread overview]
Message-ID: <CAOtvUMet_L9s5+jYF=_kb_N86dNmC6G1rhLQ7JzNfWC0J9UcSw@mail.gmail.com> (raw)
In-Reply-To: <20120207182926.GD1043@quack.suse.cz>

On Tue, Feb 7, 2012 at 8:29 PM, Jan Kara <jack@suse.cz> 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@suse.cz> 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@benyossef.com
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-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-02-08  7:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-06 13:55 [PATCH] vfs: Avoid IPI storm due to bh LRU invalidation Jan Kara
2012-02-06 15:42 ` Srivatsa S. Bhat
2012-02-06 15:51   ` Hannes Reinecke
2012-02-06 16:47   ` Jan Kara
2012-02-06 21:17     ` Andrew Morton
2012-02-06 22:25       ` Jan Kara
2012-02-07 16:25         ` Gilad Ben-Yossef
2012-02-07 18:29           ` Jan Kara
2012-02-08  7:09             ` Gilad Ben-Yossef [this message]
2012-02-08  7:09               ` Gilad Ben-Yossef

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOtvUMet_L9s5+jYF=_kb_N86dNmC6G1rhLQ7JzNfWC0J9UcSw@mail.gmail.com' \
    --to=gilad@benyossef.com \
    --cc=akpm@linux-foundation.org \
    --cc=hare@suse.de \
    --cc=hch@infradead.org \
    --cc=jack@suse.cz \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srivatsa.bhat@linux.vnet.ibm.com \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.