From: Zhao Jin <cronozhj@gmail.com>
To: Christoph Lameter <cl@linux.com>
Cc: penberg@kernel.org, mpm@selenic.com, trivial@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] slab: avoid unnecessary touching of a partial slab
Date: Fri, 26 Aug 2011 23:09:34 +0800 [thread overview]
Message-ID: <1314371374.8991.49.camel@vm> (raw)
In-Reply-To: <alpine.DEB.2.00.1108261004430.5818@router.home>
On Fri, 2011-08-26 at 10:05 -0500, Christoph Lameter wrote:
> On Fri, 26 Aug 2011, Zhao Jin wrote:
>
> > > Correct but still tthe del/add is a list_move operation. Convert that the
> > > other case as well?
> > >
> > Yes. The patch avoids list_del/list_add only if it is the case that a
> > partial slab was used for refilling and remains partial (that is:
> > partial => partial). If it is not the case( so it must be either partial
> > => full, free => full or free => partial) the patched code behaves the
> > same as current (list_del/list_add).
>
> The second case is what I want you to change to list_move.
>
>
Oops. I misunderstood your reply... I shall do it. Thanks a lot for
pointing it out.
Regards,
zhj
prev parent reply other threads:[~2011-08-26 15:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-26 5:13 [PATCH] slab: avoid unnecessary touching of a partial slab Zhao Jin
2011-08-26 5:58 ` Zhao Jin
2011-08-26 14:08 ` Christoph Lameter
2011-08-26 14:46 ` Zhao Jin
2011-08-26 14:50 ` Christoph Lameter
2011-08-26 15:02 ` Zhao Jin
2011-08-26 15:05 ` Christoph Lameter
2011-08-26 15:09 ` Zhao Jin [this message]
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=1314371374.8991.49.camel@vm \
--to=cronozhj@gmail.com \
--cc=cl@linux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=penberg@kernel.org \
--cc=trivial@kernel.org \
/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.