login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
July
»
24
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Christoph Lameter <clameter@...>
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: Mel Gorman <mel@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, linux-kernel <linux-kernel@...>, Daniel Phillips <phillips@...>, linux-mm <linux-mm@...>
Subject:
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
Date: Tuesday, July 24, 2007 - 3:09 am
On Tue, 24 Jul 2007, Peter Zijlstra wrote:
quoted text
> Then we can either fixup the slab allocators to mask out __GFP_ZERO, or > do something like the below. > > Personally I like the consistency of adding __GFP_ZERO here (removes > this odd exception) and just masking it in the sl[aou]b thingies.
There is another exception for __GFP_DMA.
quoted text
> Anybody else got a preference?
quoted text
> #define __GFP_BITS_MASK ((__force gfp_t)((1 << __GFP_BITS_SHIFT) - 1)) > > -/* if you forget to add the bitmask here kernel will crash, period */ > +/* > + * If you forget to add the bitmask here kernel will crash, period! > + * > + * GFP_LEVEL_MASK is used to filter out the flags that are to be passed to the > + * page allocator. > + *
GFP_LEVEL_MASK is also used in mm/vmalloc.c. We need a definition that goes beyond slab allocators. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Peter Zijlstra
, (Mon Jul 23, 6:03 am)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Andrew Morton
, (Mon Jul 23, 2:37 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Peter Zijlstra
, (Mon Jul 23, 2:40 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 5:43 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Andrew Morton
, (Mon Jul 23, 6:13 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 6:50 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Linus Torvalds
, (Mon Jul 23, 6:41 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Andrew Morton
, (Mon Jul 23, 6:56 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 7:00 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Mel Gorman
, (Mon Jul 23, 7:21 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Mon Jul 23, 7:38 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 7:17 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Tue Jul 24, 2:01 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 3:09 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Tue Jul 24, 3:24 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 3:35 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 3:07 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 3:25 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Mel Gorman
, (Wed Jul 25, 9:06 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 3:36 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 6:10 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 7:00 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 7:12 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 7:58 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 8:06 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Tue Jul 24, 2:48 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 3:14 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Mel Gorman
, (Mon Jul 23, 8:30 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Faik Uygur
Re: Linux 2.6.21-rc1
pageexec
Re: [stable] Linux 2.6.25.10
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Mark Lord
Re: 2.6.25-rc8: FTP transfer errors
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
859 guests
online.
Online users
vv_ivango
strcmp
calemonlawbjga
alanmaguire
summerspring
floodcleaningc
seolondonbcrlox
Syndicate