linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] mm/hugetlb: Fix commandline parsing behavior for invalid hugepagesize
@ 2016-03-23 12:07 Vaishali Thakkar
  2016-03-23 13:30 ` Michal Hocko
  0 siblings, 1 reply; 3+ messages in thread
From: Vaishali Thakkar @ 2016-03-23 12:07 UTC (permalink / raw)
  To: akpm
  Cc: linux-kernel, linux-mm, n-horiguchi, mike.kravetz, hillf.zj,
	mhocko, baiyaowei, dingel, kirill.shutemov, dave.hansen,
	paul.gortmaker, catalin.marinas, will.deacon, cmetcalf,
	linux-arm-kernel, james.hogan, linux-metag, benh, paulus, mpe,
	linuxppc-dev, tglx, mingo, hpa, x86, Vaishali Thakkar

Current code fails to ignore the 'hugepages=' parameters when unsupported
hugepagesize is specified. With this patchset, introduce new architecture
independent routine hugetlb_bad_size to handle such command line options.
And then call it in architecture specific code.

Changes since v1:
	- Separated different architecture specific changes in different
	  patches
	- CC'ed all arch maintainers

Vaishali Thakkar (6):
  mm/hugetlb: Introduce hugetlb_bad_size
  arm64: mm: Use hugetlb_bad_size
  metag: mm: Use hugetlb_bad_size
  powerpc: mm: Use hugetlb_bad_size
  tile: mm: Use hugetlb_bad_size
  x86: mm: Use hugetlb_bad_size

 arch/arm64/mm/hugetlbpage.c   |  1 +
 arch/metag/mm/hugetlbpage.c   |  1 +
 arch/powerpc/mm/hugetlbpage.c |  6 ++++--
 arch/tile/mm/hugetlbpage.c    |  7 ++++++-
 arch/x86/mm/hugetlbpage.c     |  1 +
 include/linux/hugetlb.h       |  1 +
 mm/hugetlb.c                  | 14 +++++++++++++-
 7 files changed, 27 insertions(+), 4 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-23 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-23 12:07 [PATCH v2 0/6] mm/hugetlb: Fix commandline parsing behavior for invalid hugepagesize Vaishali Thakkar
2016-03-23 13:30 ` Michal Hocko
2016-03-23 16:01   ` Vaishali Thakkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).