Re: [PATCH v9 13/24] mm: Introduce __lru_cache_add_active_or_unevictable
From: David Rientjes <rientjes@google.com>
Date: 2018-04-02 23:11:59
Also in:
linuxppc-dev, lkml
From: David Rientjes <rientjes@google.com>
Date: 2018-04-02 23:11:59
Also in:
linuxppc-dev, lkml
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 <redacted>
Acked-by: David Rientjes <rientjes@google.com>