Re: [PATCH v3 2/5] selftests/mm: run_vmtests: remove sudo and conform to tap

2024-02-01 Thread Ryan Roberts
On 01/02/2024 12:24, Muhammad Usama Anjum wrote: > On 2/1/24 5:04 PM, Ryan Roberts wrote: >> On 25/01/2024 15:46, Muhammad Usama Anjum wrote: >>> Remove sudo as some test running environments may not have sudo >>> available. Instead skip the test if root privileges aren't available in >>> the

Re: [PATCH v3 2/5] selftests/mm: run_vmtests: remove sudo and conform to tap

2024-02-01 Thread Muhammad Usama Anjum
On 2/1/24 5:04 PM, Ryan Roberts wrote: > On 25/01/2024 15:46, Muhammad Usama Anjum wrote: >> Remove sudo as some test running environments may not have sudo >> available. Instead skip the test if root privileges aren't available in >> the test. >> >> Signed-off-by: Muhammad Usama Anjum >> --- >>

Re: [PATCH v3 2/5] selftests/mm: run_vmtests: remove sudo and conform to tap

2024-02-01 Thread Ryan Roberts
On 25/01/2024 15:46, Muhammad Usama Anjum wrote: > Remove sudo as some test running environments may not have sudo > available. Instead skip the test if root privileges aren't available in > the test. > > Signed-off-by: Muhammad Usama Anjum > --- > Changes since v1: > - Added this patch in v2 >

[PATCH v3 2/5] selftests/mm: run_vmtests: remove sudo and conform to tap

2024-01-25 Thread Muhammad Usama Anjum
Remove sudo as some test running environments may not have sudo available. Instead skip the test if root privileges aren't available in the test. Signed-off-by: Muhammad Usama Anjum --- Changes since v1: - Added this patch in v2 We are allocating 2*RLIMIT_MEMLOCK.rlim_max memory and mmap()