mm: hugetlb: add hugetlb_alloc_threads cmdline option
authorThomas Prescher <thomas.prescher@cyberus-technology.de>
Thu, 27 Feb 2025 22:45:06 +0000 (23:45 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 17 Mar 2025 07:05:36 +0000 (00:05 -0700)
commit71f745688985c59eee41ffe88497a9e62774a9bf
tree08e146053b20def4578cc7b9975b264550bc1500
parentc34b3eceeac64d59f8b475046501faa5d8daa5a4
mm: hugetlb: add hugetlb_alloc_threads cmdline option

Add a command line option that enables control of how many threads should
be used to allocate huge pages.

[akpm@linux-foundation.org: tidy up a comment]
Link: https://lkml.kernel.org/r/20250227-hugepage-parameter-v2-2-7db8c6dc0453@cyberus-technology.de
Signed-off-by: Thomas Prescher <thomas.prescher@cyberus-technology.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/admin-guide/kernel-parameters.txt
Documentation/admin-guide/mm/hugetlbpage.rst
mm/hugetlb.c