My Linux and Open Source Software Penguin Logo Linux and Open Source News and Reviews
The Hungry Penguin
Linux & Me Blog    My Linux Blog (Archived)    What is Linux?    What is Open Source?


Open Source and the London Olympics

Dedicated Servers

[patch] mm, slab: only set __GFP_RECLAIMABLE once

Click here for the complete article (
David Rientjes writes: (Summary) Set __GFP_RECLAIMABLE as part of its ->allocflags rather than check the cachep flag on every page allocation.
flag on every page allocation.
Signed-off-by: David Rientjes <> 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/slab.c b/mm/slab.c --- a/mm/slab.c +++ b/mm/slab.c @@ -1409,8 +1409,6 @@ static struct page *kmem_getpages(struct kmem_cache *cachep, gfp_t flags, int nr_pages; SLAB_RECLAIM_ACCOUNT) - flags |= __GFP_RECLAIMABLE;

Linux News | Linux Articles | Linux Distributions | Linux Apps | Linux Kernel | Free Linux Download | Linux & Me Blog
Free Press Release Service | Bible Study Tool | New Covenant Workshop | Gary Sims
Press Releases and SEO

The original content of these pages (not the syndicated items) is licensed under a Creative Commons License.
News and media about the Linux operating system, open source software, Unix, Apache, LAMP, PHP, RSS, GNU and much more.