diff options
| author | Muchun Song <[email protected]> | 2022-05-13 16:48:56 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-05-13 16:48:56 -0700 |
| commit | 9c54c522bb76cbef480722bd44059e2ba8304bd2 (patch) | |
| tree | d1a731e63a4fd6c06f86e33bb57608a335e6d106 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 6e02c46b4d970f24eb51197d451b00f08a8a4186 (diff) | |
mm: hugetlb_vmemmap: use kstrtobool for hugetlb_vmemmap param parsing
Use kstrtobool rather than open coding "on" and "off" parsing in
mm/hugetlb_vmemmap.c, which is more powerful to handle all kinds of
parameters like 'Yy1Nn0' or [oO][NnFf] for "on" and "off".
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Muchun Song <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Iurii Zaikin <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Luis Chamberlain <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Xiongchun Duan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions