From: Matt Mackall <mpm@selenic.com>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
cl@linux-foundation.org, penberg@cs.helsinki.fi,
linux-mm@kvack.org, Andrew Morton <akpm@osdl.org>
Subject: Re: [Patch] slob: clean up the code
Date: Sun, 18 Jan 2009 13:41:58 -0600 [thread overview]
Message-ID: <1232307718.5202.14.camel@calx> (raw)
In-Reply-To: <20090118180038.GB3292@hack.private>
On Mon, 2009-01-19 at 02:00 +0800, AmA(C)rico Wang wrote:
> - Use NULL instead of plain 0;
Good.
> - Rename slob_page() to is_slob_page();
Ok.
> - Define slob_page() to convert void* to struct slob_page*;
Ok. The general "struct page vs page" confusion isn't really improved by
this but at least this makes it a bit less ugly.
> - Rename slob_new_page() to slob_new_pages();
Don't care about this one. We've long had a notion of a "high order
page" (singular) of size 2^n pages.
> - Define slob_free_pages() accordingly.
This is a trivial wrapper function with one user.
But this patch is probably fine in it's current form, I don't care
enough about the above to respin it.
Signed-off-by: Matt Mackall <mpm@selenic.com>
--
http://selenic.com : development and support for Mercurial and Linux
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2009-01-18 19:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-18 18:00 Américo Wang
2009-01-18 19:41 ` Matt Mackall [this message]
2009-01-19 8:30 ` Pekka Enberg
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=1232307718.5202.14.camel@calx \
--to=mpm@selenic.com \
--cc=akpm@osdl.org \
--cc=cl@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@cs.helsinki.fi \
--cc=xiyou.wangcong@gmail.com \
/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