This patch mini-series is a result of Sasha Levin's bug reports via trinity.
First two patches are quite straightforward fixes for bugs introduced in 3.12, and earlier versions have been tested. Sasha, can you please test the final versions of the first two (together) again? The first one added an extra VM_BUG_ON. The third is based on me noticing there might still be an (older than 3.12) race with a THP page split with non-fatal but still bad consequences, such as pages being kept mlocked. Since this is quite rare and was not reported, any review agreeing that it can really happen would be great. Testing as well, of course. So it's kind of RFC at this point. Vlastimil Babka (3): mm: munlock: fix a bug where THP tail page is encountered mm: munlock: fix deadlock in __munlock_pagevec() mm: munlock: fix potential race with THP page split mm/mlock.c | 116 ++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 76 insertions(+), 40 deletions(-) -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/