lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CACVXFVPMd11NPXLE=Ttj75ScMGHLvAYcYMjAyCmRvU3KZauqzg@mail.gmail.com> Date: Sun, 11 Nov 2012 20:41:20 +0800 From: Ming Lei <ming.lei@...onical.com> To: linux-kernel@...r.kernel.org Cc: Alan Stern <stern@...land.harvard.edu>, Oliver Neukum <oneukum@...e.de>, Minchan Kim <minchan@...nel.org>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "Rafael J. Wysocki" <rjw@...k.pl>, Jens Axboe <axboe@...nel.dk>, "David S. Miller" <davem@...emloft.net>, Andrew Morton <akpm@...ux-foundation.org>, netdev@...r.kernel.org, linux-usb@...r.kernel.org, linux-pm@...r.kernel.org, linux-mm@...ck.org, Ming Lei <ming.lei@...onical.com>, Jiri Kosina <jiri.kosina@...e.com>, Mel Gorman <mel@....ul.ie>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>, Michal Hocko <mhocko@...e.cz>, Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org> Subject: Re: [PATCH v5 1/6] mm: teach mm by current context info to not do I/O during memory allocation On Sun, Nov 11, 2012 at 8:34 PM, Ming Lei <ming.lei@...onical.com> wrote: > +/* GFP_NOIO isn't allowed if PF_MEMALLOC_NOIO is set in current->flags */ > +static inline gfp_t memalloc_noio_flags(gfp_t flags) > +{ > + if (unlikely(current->flags & PF_MEMALLOC_NOIO)) > + flags &= ~GFP_NOIO; > + return flags; Sorry, the above is wrong, and GFP_IO should be cleared, and I will resend this one. Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists