From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx195.postini.com [74.125.245.195]) by kanga.kvack.org (Postfix) with SMTP id CF7B36B0031 for ; Mon, 5 Aug 2013 14:35:51 -0400 (EDT) Message-ID: <51FFF078.8020203@redhat.com> Date: Mon, 05 Aug 2013 14:35:36 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 5/9] mm: compaction: don't require high order pages below min wmark References: <1375459596-30061-1-git-send-email-aarcange@redhat.com> <1375459596-30061-6-git-send-email-aarcange@redhat.com> In-Reply-To: <1375459596-30061-6-git-send-email-aarcange@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-mm@kvack.org, Johannes Weiner , Mel Gorman , Hugh Dickins , Richard Davies , Shaohua Li , Rafael Aquini , Andrew Morton , Hush Bensen On 08/02/2013 12:06 PM, Andrea Arcangeli wrote: > The min wmark should be satisfied with just 1 hugepage. And the other > wmarks should be adjusted accordingly. We need to succeed the low > wmark check if there's some significant amount of 0 order pages, but > we don't need plenty of high order pages because the PF_MEMALLOC paths > don't require those. Creating a ton of high order pages that cannot be > allocated by the high order allocation paths (no PF_MEMALLOC) is quite > wasteful because they can be splitted in lower order pages before > anybody has a chance to allocate them. > > Signed-off-by: Andrea Arcangeli 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