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: Tue, 16 Feb 2010 20:44:26 -0500 From: Rik van Riel <riel@...hat.com> To: Mel Gorman <mel@....ul.ie> CC: Andrea Arcangeli <aarcange@...hat.com>, Christoph Lameter <cl@...ux-foundation.org>, Adam Litke <agl@...ibm.com>, Avi Kivity <avi@...hat.com>, David Rientjes <rientjes@...gle.com>, KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>, linux-kernel@...r.kernel.org, linux-mm@...ck.org Subject: Re: [PATCH 04/12] Export fragmentation index via /proc/pagetypeinfo On 02/12/2010 07:00 AM, Mel Gorman wrote: > Fragmentation index is a value that makes sense when an allocation of a > given size would fail. The index indicates whether an allocation failure is > due to a lack of memory (values towards 0) or due to external fragmentation > (value towards 1). For the most part, the huge page size will be the size > of interest but not necessarily so it is exported on a per-order and per-zone > basis via /proc/pagetypeinfo. > > The index is normally calculated as a value between 0 and 1 which is > obviously unsuitable within the kernel. Instead, the first three decimal > places are used as a value between 0 and 1000 for an integer approximation. > > Signed-off-by: Mel Gorman<mel@....ul.ie> Acked-by: Rik van Riel <riel@...hat.com> -- All rights reversed. -- 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