Re: [PATCH v3 4/5] selftests/mm: protection_keys: save/restore nr_hugepages settings

2024-03-14 Thread Joey Gouly
On Wed, Mar 13, 2024 at 11:12:58PM +0500, Muhammad Usama Anjum wrote: > On 3/13/24 7:58 PM, Joey Gouly wrote: > > Hi Muhammad, > > > > On Thu, Jan 25, 2024 at 08:46:07PM +0500, Muhammad Usama Anjum wrote: > >> Save and restore nr_hugepages before changing it during the test. A test > >> should not

Re: [PATCH v3 4/5] selftests/mm: protection_keys: save/restore nr_hugepages settings

2024-03-13 Thread Muhammad Usama Anjum
On 3/13/24 7:58 PM, Joey Gouly wrote: > Hi Muhammad, > > On Thu, Jan 25, 2024 at 08:46:07PM +0500, Muhammad Usama Anjum wrote: >> Save and restore nr_hugepages before changing it during the test. A test >> should not change system wide settings. >> >> Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-test

Re: [PATCH v3 4/5] selftests/mm: protection_keys: save/restore nr_hugepages settings

2024-03-13 Thread Joey Gouly
Hi Muhammad, On Thu, Jan 25, 2024 at 08:46:07PM +0500, Muhammad Usama Anjum wrote: > Save and restore nr_hugepages before changing it during the test. A test > should not change system wide settings. > > Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-tests") > Signed-off-by: Muhammad Usama Anjum > --

[PATCH v3 4/5] selftests/mm: protection_keys: save/restore nr_hugepages settings

2024-01-25 Thread Muhammad Usama Anjum
Save and restore nr_hugepages before changing it during the test. A test should not change system wide settings. Fixes: 5f23f6d082a9 ("x86/pkeys: Add self-tests") Signed-off-by: Muhammad Usama Anjum --- tools/testing/selftests/mm/protection_keys.c | 34 1 file changed, 34 in