[PATCH v9 13/24] mm: Introduce __lru_cache_add_active_or_unevictable

David Rientjes rientjes at google.com
Tue Apr 3 09:11:55 AEST 2018


On Tue, 13 Mar 2018, Laurent Dufour wrote:

> The speculative page fault handler which is run without holding the
> mmap_sem is calling lru_cache_add_active_or_unevictable() but the vm_flags
> is not guaranteed to remain constant.
> Introducing __lru_cache_add_active_or_unevictable() which has the vma flags
> value parameter instead of the vma pointer.
> 
> Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>

Acked-by: David Rientjes <rientjes at google.com>


More information about the Linuxppc-dev mailing list