From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id 907E16B007B for ; Tue, 16 Feb 2010 13:29:17 -0500 (EST) Message-ID: <4B7AE3D9.9040504@redhat.com> Date: Tue, 16 Feb 2010 13:28:41 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 03/12] Export unusable free space index via /proc/pagetypeinfo References: <1265976059-7459-1-git-send-email-mel@csn.ul.ie> <1265976059-7459-4-git-send-email-mel@csn.ul.ie> In-Reply-To: <1265976059-7459-4-git-send-email-mel@csn.ul.ie> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Mel Gorman Cc: Andrea Arcangeli , Christoph Lameter , Adam Litke , Avi Kivity , David Rientjes , KOSAKI Motohiro , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On 02/12/2010 07:00 AM, Mel Gorman wrote: > Unusuable free space index is a measure of external fragmentation that > takes the allocation size into account. 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 Acked-by: Rik van Riel -- All rights reversed. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org