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: <alpine.DEB.2.02.1406161607430.21018@chino.kir.corp.google.com> Date: Mon, 16 Jun 2014 16:07:56 -0700 (PDT) From: David Rientjes <rientjes@...gle.com> To: Michal Nazarewicz <mina86@...a86.com> cc: Christoph Lameter <clameter@....com>, Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] mm: page_alloc: simplify drain_zone_pages by using min() On Mon, 16 Jun 2014, Michal Nazarewicz wrote: > Instead of open-coding getting minimal value of two, just use min macro. > That is why it is there for. While changing the function also change > type of batch local variable to match type of per_cpu_pages::batch > (which is int). > > Signed-off-by: Michal Nazarewicz <mina86@...a86.com> Acked-by: David Rientjes <rientjes@...gle.com> -- 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