login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Christoph Lameter
Subject:
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
Date: Tuesday, July 24, 2007 - 12: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, 3:03 am)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Mel Gorman
, (Mon Jul 23, 4:21 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Mon Jul 23, 4:38 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Mel Gorman
, (Mon Jul 23, 5:30 am)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Andrew Morton
, (Mon Jul 23, 11:37 am)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Peter Zijlstra
, (Mon Jul 23, 11:40 am)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 2:43 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Andrew Morton
, (Mon Jul 23, 3:13 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Linus Torvalds
, (Mon Jul 23, 3:41 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 3:50 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Andrew Morton
, (Mon Jul 23, 3:56 pm)
Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 4:00 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Mon Jul 23, 4:17 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Mon Jul 23, 11:01 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Mon Jul 23, 11:48 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 12:09 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 12:14 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Peter Zijlstra
, (Tue Jul 24, 12:24 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 12:35 am)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 12:07 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 12:25 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 12:36 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 3:10 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 4:00 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 4:12 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Christoph Lameter
, (Tue Jul 24, 4:58 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Andrew Morton
, (Tue Jul 24, 5:06 pm)
Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK
, Mel Gorman
, (Wed Jul 25, 6:06 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Ingo Molnar
Re: [GIT PULL] time.c - respin
Evgeniy Polyakov
Re: Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP transfer errors)
git
:
Junio C Hamano
Re: git-svnimport
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Junio C Hamano
Re: Fwd: git status options feature suggestion
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Stéphane Chausson
Re: NAT IPV4 and bridge only IPV6
Colocation donated by:
Syndicate