Re: [PATCH] z3fold: claim page in the beginning of free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Den fre 27 sep. 2019 00:48Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> skrev:
On Thu, 26 Sep 2019 10:48:44 +0200 Vitaly Wool <vitalywool@xxxxxxxxx> wrote:

> There's a really hard to reproduce race in z3fold between
> z3fold_free() and z3fold_reclaim_page(). z3fold_reclaim_page()
> can claim the page after z3fold_free() has checked if the page
> was claimed and z3fold_free() will then schedule this page for
> compaction which may in turn lead to random page faults (since
> that page would have been reclaimed by then). Fix that by
> claiming page in the beginning of z3fold_free().
>

I take it from the email headers that a

Cc: <stable@xxxxxxxxxxxxxxx>

was intended?

Oh yes, thanks! 

~Vitaly 

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux