Skip to content

Dummy HPAGE_* constants for !CONFIG_HUGETLB_PAGE

David Daney linux-arch linux-mips lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v11 patch 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hugetlb: Provide a default HPAGE_SHIFT if !CONFIG_HUGETLB_PAGEinclude/linux/hugetlb.h+1 -00 replies
2/2hugetlb: Provide safer dummy values for HPAGE_MASK and HPAGE_SIZEinclude/linux/hugetlb.h+3 -24 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Dummy HPAGE_* constants for !CONFIG_HUGETLB_PAGE

From: David Daney <[email protected]>

After a, somewhat heated, discussion with David Rientjes, I think the following approach will work.

The first patch adds HPAGE_SHIFT, needed by MIPS.

The second cleans up the exiting HPAGE_MASK and HPAGE_SIZE

David Daney (2):
hugetlb: Provide a default HPAGE_SHIFT if !CONFIG_HUGETLB_PAGE
hugetlb: Provide safer dummy values for HPAGE_MASK and HPAGE_SIZE

 include/linux/hugetlb.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
Cc David Rientjes <[email protected]>
Signature · 1 line
1.7.2.3