From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by kanga.kvack.org (Postfix) with ESMTP id E214F6B0035 for ; Thu, 17 Apr 2014 19:01:13 -0400 (EDT) Received: by mail-pa0-f50.google.com with SMTP id kq14so858731pab.9 for ; Thu, 17 Apr 2014 16:01:13 -0700 (PDT) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by mx.google.com with ESMTP id ug9si15316751pab.458.2014.04.17.16.01.12 for ; Thu, 17 Apr 2014 16:01:12 -0700 (PDT) Date: Thu, 17 Apr 2014 16:01:10 -0700 From: Andrew Morton Subject: Re: [PATCH v3 0/5] hugetlb: add support gigantic page allocation at runtime Message-Id: <20140417160110.3f36b972b25525fbbe23681b@linux-foundation.org> In-Reply-To: <1397152725-20990-1-git-send-email-lcapitulino@redhat.com> References: <1397152725-20990-1-git-send-email-lcapitulino@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Luiz Capitulino Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mtosatti@redhat.com, aarcange@redhat.com, mgorman@suse.de, andi@firstfloor.org, davidlohr@hp.com, rientjes@google.com, isimatu.yasuaki@jp.fujitsu.com, yinghai@kernel.org, riel@redhat.com, n-horiguchi@ah.jp.nec.com, kirill@shutemov.name On Thu, 10 Apr 2014 13:58:40 -0400 Luiz Capitulino wrote: > The HugeTLB subsystem uses the buddy allocator to allocate hugepages during > runtime. This means that hugepages allocation during runtime is limited to > MAX_ORDER order. For archs supporting gigantic pages (that is, page sizes > greater than MAX_ORDER), this in turn means that those pages can't be > allocated at runtime. Dumb question: what's wrong with just increasing MAX_ORDER? -- 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