[LTP] [PATCH v2] shmget02: check if CONFIG_HUGETLBFS enabled in kernel
Cyril Hrubis
chrubis@suse.cz
Tue Aug 3 17:20:26 CEST 2021
Hi!
> Two tests call shmget with a flag SHM_HUGETLB, trying to
> allocate the segment using "huge" pages. The hugetlbpage
> support needs to be enabled in kernel (CONFIG_HUGETLBFS),
> otherwise shmget returns EINVAL.
There are a few minor style problems in the patch, have you checked it
with checkpatch.pl and make check as described in:
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2-coding-style
https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#6-test-contribution-checklist
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list