From: Dave Hansen <haveblue@us.ibm.com>
To: Hiroyuki KAMEZAWA <kamezawa.hiroyu@jp.fujitsu.com>
Cc: linux-mm <linux-mm@kvack.org>,
lhms <lhms-devel@lists.sourceforge.net>,
William Lee Irwin III <wli@holomorphy.com>,
Hirokazu Takahashi <taka@valinux.co.jp>,
ncunningham@linuxmail.org
Subject: Re: [RFC/PATCH] free_area[] bitmap elimination[0/3]
Date: Tue, 24 Aug 2004 09:53:52 -0700 [thread overview]
Message-ID: <1093366431.1009.28.camel@nighthawk> (raw)
In-Reply-To: <412B32D1.10005@jp.fujitsu.com>
On Tue, 2004-08-24 at 05:21, Hiroyuki KAMEZAWA wrote:
> /*
> + * These macros are used in alloc_pages()/free_pages(), buddy allocator.
> + * page_order(page) returns an order of a free page in buddy allocator.
> + * set_page_order(page, order) sets an order of a free page in buddy allocator.
> + * Invalidate_page_order() invalidates order information for avoiding
> + * conflicts of pages in transition state.
> + *
> + * this is used with PG_private flag
> + */
> +#define set_page_order(page,order)\
> + do {\
> + (page)->private = (order);\
> + SetPagePrivate((page));\
> + } while(0)
> +#define invalidate_page_order(page) ClearPagePrivate((page))
> +#define page_order(page) ((page)->private)
> +
> +/*
Can these be made into static inline functions instead of macros?
-- Dave
--
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:"aart@kvack.org"> aart@kvack.org </a>
next prev parent reply other threads:[~2004-08-24 16:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-24 12:21 Hiroyuki KAMEZAWA
2004-08-24 16:53 ` Dave Hansen [this message]
2004-08-24 23:43 ` [Lhms-devel] " Hiroyuki KAMEZAWA
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=1093366431.1009.28.camel@nighthawk \
--to=haveblue@us.ibm.com \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=lhms-devel@lists.sourceforge.net \
--cc=linux-mm@kvack.org \
--cc=ncunningham@linuxmail.org \
--cc=taka@valinux.co.jp \
--cc=wli@holomorphy.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