linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] hugetlb: Fix confusing behavior
@ 2022-04-01 10:12 Peng Liu
  2022-04-01 10:12 ` [PATCH v2 1/2] hugetlb: Fix hugepages_setup when deal with pernode Peng Liu
  2022-04-01 10:12 ` [PATCH v2 2/2] hugetlb: Fix return value of __setup handlers Peng Liu
  0 siblings, 2 replies; 11+ messages in thread
From: Peng Liu @ 2022-04-01 10:12 UTC (permalink / raw)
  To: mike.kravetz, akpm, yaozhenguo1, linux-mm, linux-kernel, stable
  Cc: liupeng256

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(-)

-- 
2.18.0.huawei.25



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

end of thread, other threads:[~2022-04-04 23:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 10:12 [PATCH v2 0/2] hugetlb: Fix confusing behavior Peng Liu
2022-04-01 10:12 ` [PATCH v2 1/2] hugetlb: Fix hugepages_setup when deal with pernode Peng Liu
2022-04-01 10:43   ` David Hildenbrand
2022-04-01 17:23     ` Mike Kravetz
2022-04-04 10:41       ` David Hildenbrand
2022-04-04 23:48         ` Mike Kravetz
2022-04-02  2:36     ` liupeng (DM)
2022-04-01 10:12 ` [PATCH v2 2/2] hugetlb: Fix return value of __setup handlers Peng Liu
2022-04-01 10:46   ` David Hildenbrand
2022-04-02  1:33     ` liupeng (DM)
2022-04-04 10:25       ` David Hildenbrand

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).