Re: [PATCH] selftests/mm: Fix validate_addr helper

2025-06-23 Thread David Hildenbrand
On 20.06.25 13:11, Dev Jain wrote: validate_addr() function checks whether the address returned by mmap() lies in the low or high VA space, according to whether a high addr hint was passed or not. The fix commit mentioned below changed the code in such a way that this function will always return

Re: [PATCH] selftests/mm: Fix validate_addr helper

2025-06-20 Thread Donet Tom
On 6/20/25 4:41 PM, Dev Jain wrote: validate_addr() function checks whether the address returned by mmap() lies in the low or high VA space, according to whether a high addr hint was passed or not. The fix commit mentioned below changed the code in such a way that this function will always retu

Re: [PATCH] selftests/mm: Fix validate_addr helper

2025-06-20 Thread Dev Jain
On 20/06/25 4:41 pm, Dev Jain wrote: validate_addr() function checks whether the address returned by mmap() lies in the low or high VA space, according to whether a high addr hint was passed or not. The fix commit mentioned below changed the code in such a way that this function will always ret

[PATCH] selftests/mm: Fix validate_addr helper

2025-06-20 Thread Dev Jain
validate_addr() function checks whether the address returned by mmap() lies in the low or high VA space, according to whether a high addr hint was passed or not. The fix commit mentioned below changed the code in such a way that this function will always return failure when passed high_addr == 1; a