From: Dave Hansen <haveblue@us.ibm.com>
To: Anand Eswaran <aeswaran@andrew.cmu.edu>
Cc: linux-mm <linux-mm@kvack.org>
Subject: Re: Quick question
Date: Mon, 23 Feb 2004 20:24:53 -0800 [thread overview]
Message-ID: <1077596693.8563.53.camel@nighthawk> (raw)
In-Reply-To: <Pine.LNX.4.58-035.0402232213250.18964@unix50.andrew.cmu.edu>
On Mon, 2004-02-23 at 19:14, Anand Eswaran wrote:
> Are there any particular flags for a page that I can use to check if a
> given page is used by the slab-allocator or not.
#define PageSlab(page) test_bit(PG_slab, &(page)->flags)
#define SetPageSlab(page) set_bit(PG_slab, &(page)->flags)
#define ClearPageSlab(page) clear_bit(PG_slab, &(page)->flags)
#define TestClearPageSlab(page) test_and_clear_bit(PG_slab, &(page)->flags)
#define TestSetPageSlab(page) test_and_set_bit(PG_slab, &(page)->flags)
-- 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>
prev parent reply other threads:[~2004-02-24 4:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-24 3:14 Anand Eswaran
2004-02-24 4:24 ` Dave Hansen [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=1077596693.8563.53.camel@nighthawk \
--to=haveblue@us.ibm.com \
--cc=aeswaran@andrew.cmu.edu \
--cc=linux-mm@kvack.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