[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1392053268-29239-1-git-send-email-lcapitulino@redhat.com>
Date: Mon, 10 Feb 2014 12:27:44 -0500
From: Luiz Capitulino <lcapitulino@...hat.com>
To: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
mtosatti@...hat.com, mgorman@...e.de, aarcange@...hat.com,
andi@...stfloor.org, riel@...hat.com
Subject: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option
HugeTLB command-line option hugepages= allows the user to specify how many
huge pages should be allocated at boot. On NUMA systems, this argument
automatically distributes huge pages allocation among nodes, which can
be undesirable.
The hugepagesnid= option introduced by this commit allows the user
to specify which NUMA nodes should be used to allocate boot-time HugeTLB
pages. For example, hugepagesnid=0,2,2G will allocate two 2G huge pages
from node 0 only. More details on patch 3/4 and patch 4/4.
Luiz capitulino (4):
memblock: memblock_virt_alloc_internal(): alloc from specified node
only
memblock: add memblock_virt_alloc_nid_nopanic()
hugetlb: add hugepagesnid= command-line option
hugetlb: hugepagesnid=: add 1G huge page support
Documentation/kernel-parameters.txt | 8 +++
arch/x86/mm/hugetlbpage.c | 35 ++++++++++++
include/linux/bootmem.h | 4 ++
include/linux/hugetlb.h | 2 +
mm/hugetlb.c | 103 ++++++++++++++++++++++++++++++++++++
mm/memblock.c | 41 ++++++++++++--
6 files changed, 190 insertions(+), 3 deletions(-)
--
1.8.1.4
--
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