Re: [PATCH mm-unstable v2 05/16] mm: arc: Use generic_mmap_hint()

2024-12-12 Thread Liam R. Howlett
* Kalesh Singh [241211 18:28]: > Introduce arc arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT. > This is a preparatory patch, no functional change is introduced. You have changed the order of the map fixed check and the len check. I *think* what you have done is correct, but your comment is cer

[PATCH mm-unstable v2 05/16] mm: arc: Use generic_mmap_hint()

2024-12-11 Thread Kalesh Singh
Introduce arc arch_mmap_hint() and define HAVE_ARCH_MMAP_HINT. This is a preparatory patch, no functional change is introduced. Signed-off-by: Kalesh Singh --- Changes in v2: - MAP_FIXED case is also handled in arch_mmap_hint() since this is just a special case of the hint addr being "enfo