commit | 4ae013f06fd64d19a5c0904746c6618f8667a10a | [log] [tgz] |
---|---|---|
author | Andrea Arcangeli <aarcange@redhat.com> | Wed Jan 13 17:54:56 2021 -0500 |
committer | Andrea Arcangeli <aarcange@redhat.com> | Sat Nov 11 22:03:35 2023 -0500 |
tree | b0fec61686e3ad572316db488bceb90703051b7b | |
parent | b72abf1dee6b8a1c8b4859646dc70237e3fe9028 [diff] |
mm: thp: make the THP mapcount atomic with a seqlock Introduce a seqlock in the THP subpage at index 1 to allow reading the THP mapcount atomically outside the page lock. Reviewed-by: Peter Xu <peterx@redhat.com> Reported-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Fixes: c444eb564fb1 ("mm: thp: make the THP mapcount atomic against __split_huge_pmd_locked()") Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>