From: Andrew Morton <akpm@osdl.org>
To: Coywolf Qi Hunt <coywolf@gmail.com>
Cc: linux-kernel@vger.kernel.org, clameter@sgi.com
Subject: Re: + swap-migration-v5-lru-operations-tweaks.patch added to -mm tree
Date: Sun, 6 Nov 2005 22:17:38 -0800 [thread overview]
Message-ID: <20051106221738.02215417.akpm@osdl.org> (raw)
In-Reply-To: <2cd57c900511062115n5975fba7v@mail.gmail.com>
Coywolf Qi Hunt <coywolf@gmail.com> wrote:
>
> 2005/11/1, akpm@osdl.org <akpm@osdl.org>:
> >
> > The patch titled
> >
> > swap-migration-v5-lru-operations-tweaks
> >
> > has been added to the -mm tree. Its filename is
> >
> > swap-migration-v5-lru-operations-tweaks.patch
> >
> >
> > From: Andrew Morton <akpm@osdl.org>
> >
> > Cc: Christoph Lameter <clameter@sgi.com>
> > Signed-off-by: Andrew Morton <akpm@osdl.org>
> > ---
> >
> > include/linux/mm_inline.h | 4 +---
> > mm/vmscan.c | 6 +++---
> > 2 files changed, 4 insertions(+), 6 deletions(-)
> >
> > diff -puN include/linux/mm_inline.h~swap-migration-v5-lru-operations-tweaks include/linux/mm_inline.h
> > --- devel/include/linux/mm_inline.h~swap-migration-v5-lru-operations-tweaks 2005-10-31 21:21:48.000000000 -0800
> > +++ devel-akpm/include/linux/mm_inline.h 2005-10-31 21:21:48.000000000 -0800
> > @@ -44,8 +44,7 @@ del_page_from_lru(struct zone *zone, str
> > *
> > * - zone->lru_lock must be held
> > */
> > -static inline int
> > -__isolate_lru_page(struct zone *zone, struct page *page)
> > +static inline int __isolate_lru_page(struct zone *zone, struct page *page)
> > {
> > if (TestClearPageLRU(page)) {
> > if (get_page_testone(page)) {
>
> My curiosity, why we do this when the former is friendly to grep?
It's easier to read.
> Any coding style document about this?
Dunno. I have a rude email from Linus here somewhere from when I used to
do it that way ;)
prev parent reply other threads:[~2005-11-07 6:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200511010521.jA15Lpsm016996@shell0.pdx.osdl.net>
2005-11-07 5:15 ` Coywolf Qi Hunt
2005-11-07 6:17 ` Andrew Morton [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=20051106221738.02215417.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=clameter@sgi.com \
--cc=coywolf@gmail.com \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®