On 10/13/26 17:04, Lorenzo Stoakes (ARM) wrote: > The existing logic asserts that an mmap write lock is held, bizarrely, by > asserting that an mmap_read_trylock() fails (which is not the same thing). > > Assert the mmap write lock here and switch to using the new VMA flags API > while here. > > Note that the vma_start_write() is explicitly broken out from > vm_flags_set() here in order to use vma_set_flags() safely.
Which is a lot clearer. Acked-by: David Hildenbrand (Arm) <[email protected]> -- Cheers, David
