Messages in this thread | | | Date | Tue, 2 Jul 2019 11:58:48 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH v2] mm/z3fold.c: Lock z3fold page before __SetPageMovable() |
| |
On Mon, 1 Jul 2019, Henry Burns wrote:
> __SetPageMovable() expects it's page to be locked, but z3fold.c doesn't > lock the page. Following zsmalloc.c's example we call trylock_page() and > unlock_page(). Also makes z3fold_page_migrate() assert that newpage is > passed in locked, as documentation. > > Signed-off-by: Henry Burns <henryburns@google.com> > Suggested-by: Vitaly Wool <vitalywool@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
| |