Re: [PATCH v3 1/4] selftests/mm: virtual_address_range: mmap() without PROT_WRITE

2025-01-13 Thread Dev Jain
failure. As the mappings are never written to anyways, the flag can be removed. Fixes: 010409649885 ("selftests/mm: confirm VA exhaustion without reliance on correctness of mmap()") Signed-off-by: Thomas Weißschuh Acked-by: David Hildenbrand Acked-by: Dev Jain --- tools/testing/se

Re: [PATCH v2] selftests/mm/cow: Modify the incorrect checking parameters

2025-01-12 Thread Dev Jain
onymous pages") Signed-off-by: Hao Ge --- You should also CC the person whose code you are changing, in this case, David Hildenbrand. Reviewed-by: Dev Jain

Re: [PATCH v2 1/3] selftests/mm: virtual_address_range: mmap() without PROT_WRITE

2025-01-10 Thread Dev Jain
failure. As the mappings are never written to anyways, the flag can be removed. Fixes: 010409649885 ("selftests/mm: confirm VA exhaustion without reliance on correctness of mmap()") Signed-off-by: Thomas Weißschuh Thanks! FWIW: Acked-by: Dev Jain

Re: [PATCH 1/3] selftests/mm: virtual_address_range: Fix error when CommitLimit < 1GiB

2025-01-08 Thread Dev Jain
On 08/01/25 9:43 pm, Thomas Weißschuh wrote: On Wed, Jan 08, 2025 at 02:36:57PM +0100, David Hildenbrand wrote: On 08.01.25 09:05, Thomas Weißschuh wrote: On Wed, Jan 08, 2025 at 11:46:19AM +0530, Dev Jain wrote: On 07/01/25 8:44 pm, Thomas Weißschuh wrote: If not enough physical memory is

Re: [PATCH 3/3] selftests/mm: virtual_address_range: Dump to /dev/null

2025-01-08 Thread Dev Jain
On 08/01/25 7:00 pm, David Hildenbrand wrote: On 08.01.25 07:09, Dev Jain wrote: On 07/01/25 8:44 pm, Thomas Weißschuh wrote: During the execution of validate_complete_va_space() a lot of memory is on the VM subsystem. When running on a low memory subsystem an OOM may be triggered, when

Re: [PATCH 1/3] selftests/mm: virtual_address_range: Fix error when CommitLimit < 1GiB

2025-01-07 Thread Dev Jain
On 07/01/25 8:44 pm, Thomas Weißschuh wrote: If not enough physical memory is available the kernel may fail mmap(); see __vm_enough_memory() and vm_commit_limit(). In that case the logic in validate_complete_va_space() does not make sense and will even incorrectly fail. Instead skip the test if

Re: [PATCH] selftests/mm: Added new test cases to the migration test

2024-12-19 Thread Dev Jain
passed. # Totals: pass:6 fail:0 xfail:0 xpass:0 skip:0 error:0 # Signed-off-by: Donet Tom --- Reviewed-by: Dev Jain

[RESEND] [PATCH v6 0/2] Add test to distinguish between thread's signal mask and ucontext_t

2024-10-28 Thread Dev Jain
Pingplease pull this

[RESEND] [PATCH v6 2/2] selftests: Add a test mangling with uc_sigmask

2024-10-08 Thread Dev Jain
signal, delivered signal, and ucontext. The ucontext is mangled with, by adding a signal mask to it; on return from the handler, the thread must block the corresponding signal. In the test description, I have also described signal delivery and blockage, for ease of understanding what the test does

[RESEND] [PATCH v6 1/2] selftests: Rename sigaltstack to generic signal

2024-10-08 Thread Dev Jain
Rename sigaltstack to generic signal directory, to allow adding more signal tests in the future. Signed-off-by: Dev Jain Reviewed-by: Mark Brown Acked-by: Shuah Khan --- tools/testing/selftests/Makefile| 2 +- tools/testing/selftests/{sigaltstack => sig

[RESEND] [PATCH v6 0/2] Add test to distinguish between thread's signal mask and ucontext_t

2024-10-08 Thread Dev Jain
functions/syscalls - Mention tests in Makefile and .gitignore in alphabetical order v1: - https://lore.kernel.org/all/20240607122319.768640-1-dev.j...@arm.com/ Dev Jain (2): selftests: Rename sigaltstack to generic signal selftests: Add a test mangling with uc_sigmask tools/testing/selfte

Re: [PATCH v6 1/2] selftests: Rename sigaltstack to generic signal

2024-10-06 Thread Dev Jain
On 9/16/24 09:28, Dev Jain wrote: On 9/9/24 23:24, Shuah Khan wrote: On 9/8/24 23:16, Dev Jain wrote: On 9/7/24 01:29, Shuah Khan wrote: On 9/4/24 23:56, Dev Jain wrote: On 9/4/24 22:35, Shuah Khan wrote: On 9/3/24 22:52, Dev Jain wrote: On 9/4/24 03:14, Shuah Khan wrote: On 8/30/24

Re: [PATCH v2] selftests/damon/access_memory_even: remove unused variables

2024-09-23 Thread Dev Jain
On 9/24/24 07:44, Ba Jing wrote: By reading the code, I found these variables are never referenced in the code. Just remove them. Signed-off-by: Ba Jing Reviewed-by: Dev Jain

Re: [PATCH v6 1/2] selftests: Rename sigaltstack to generic signal

2024-09-15 Thread Dev Jain
On 9/9/24 23:24, Shuah Khan wrote: On 9/8/24 23:16, Dev Jain wrote: On 9/7/24 01:29, Shuah Khan wrote: On 9/4/24 23:56, Dev Jain wrote: On 9/4/24 22:35, Shuah Khan wrote: On 9/3/24 22:52, Dev Jain wrote: On 9/4/24 03:14, Shuah Khan wrote: On 8/30/24 10:29, Dev Jain wrote: On 8/27/24

Re: [PATCH v6 1/2] selftests: Rename sigaltstack to generic signal

2024-09-08 Thread Dev Jain
On 9/7/24 01:29, Shuah Khan wrote: On 9/4/24 23:56, Dev Jain wrote: On 9/4/24 22:35, Shuah Khan wrote: On 9/3/24 22:52, Dev Jain wrote: On 9/4/24 03:14, Shuah Khan wrote: On 8/30/24 10:29, Dev Jain wrote: On 8/27/24 17:16, Dev Jain wrote: On 8/27/24 17:14, Shuah Khan wrote: On 8/22

Re: [PATCH v6 1/2] selftests: Rename sigaltstack to generic signal

2024-09-04 Thread Dev Jain
On 9/4/24 22:35, Shuah Khan wrote: On 9/3/24 22:52, Dev Jain wrote: On 9/4/24 03:14, Shuah Khan wrote: On 8/30/24 10:29, Dev Jain wrote: On 8/27/24 17:16, Dev Jain wrote: On 8/27/24 17:14, Shuah Khan wrote: On 8/22/24 06:14, Dev Jain wrote: Rename sigaltstack to generic signal

Re: [PATCH v6 1/2] selftests: Rename sigaltstack to generic signal

2024-09-03 Thread Dev Jain
On 9/4/24 03:14, Shuah Khan wrote: On 8/30/24 10:29, Dev Jain wrote: On 8/27/24 17:16, Dev Jain wrote: On 8/27/24 17:14, Shuah Khan wrote: On 8/22/24 06:14, Dev Jain wrote: Rename sigaltstack to generic signal directory, to allow adding more signal tests in the future. Sorry - I think