mbox series

[v2,0/2] hugetlb: Fix confusing behavior

Message ID 20220401101232.2790280-1-liupeng256@huawei.com (mailing list archive)
Headers show
Series hugetlb: Fix confusing behavior | expand

Message

Peng Liu April 1, 2022, 10:12 a.m. UTC
When config pernode, the behavior of 1G hugepage is different
from 2M hugepage, patch 1 will fix this. To avoid printing
useless information, __setup() is modified to always return'1'.

v1->v2:
  Split "return 1" into a single patch as suggested by Mike.

Peng Liu (2):
  hugetlb: Fix hugepages_setup when deal with pernode
  hugetlb: Fix return value of __setup handlers

 mm/hugetlb.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)