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
| ||
|
Date: Mon, 15 Oct 2012 22:41:48 +0800 From: Ming Lei <ming.lei@...onical.com> To: Alan Stern <stern@...land.harvard.edu> Cc: linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, linux-usb@...r.kernel.org, linux-pm@...r.kernel.org, Oliver Neukum <oneukum@...e.de>, Jiri Kosina <jiri.kosina@...e.com>, Andrew Morton <akpm@...ux-foundation.org>, Mel Gorman <mel@....ul.ie>, Minchan Kim <minchan@...nel.org>, KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>, Michal Hocko <mhocko@...e.cz>, Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org>, "Rafael J. Wysocki" <rjw@...k.pl>, linux-mm <linux-mm@...ck.org> Subject: Re: [RFC PATCH 1/3] mm: teach mm by current context info to not do I/O during memory allocation On Mon, Oct 15, 2012 at 10:33 PM, Alan Stern <stern@...land.harvard.edu> wrote: > > Instead of allow/forbid, the API should be save/restore (like > local_irq_save and local_irq_restore). This makes nesting much easier. Good point. > Also, do we really the "p" argument? This is not at all likely to be > used with any task other than the current one. Yes, only 'current' can be passed now. I keep it because no performance effect with macro implementation. But that is not good since it may cause misuse. Will remove the 'p' argument. Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists