From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <492AB616.8010100@redhat.com> Date: Mon, 24 Nov 2008 09:11:34 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 9/8] mm: optimize get_scan_ratio for no swap References: <4929DF54.8050104@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Hugh Dickins Cc: Andrew Morton , Nick Piggin , Lee Schermerhorn , linux-mm@kvack.org List-ID: Hugh Dickins wrote: > Rik suggests a simplified get_scan_ratio() for !CONFIG_SWAP. Yes, > the gcc optimizer gives us that, when nr_swap_pages is #defined as 0L. > Move usual declaration to swapfile.c: it never belonged in page_alloc.c. > > Signed-off-by: Hugh Dickins 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