Re: [PATCH v7 1/2] mm: store zero pages to be swapped out in a bitmap
From: Usama Arif
Date: Fri Jul 05 2024 - 05:41:43 EST
On 05/07/2024 02:22, Andrew Morton wrote:
> On Mon, 1 Jul 2024 20:15:46 +0300 Usama Arif <usamaarif642@xxxxxxxxx> wrote:
>
>> Changes from v7 (Johannes):
>> - Give overview and explain how locking works in zeromap in comments
>> - Add comment for why last word is checked first when checking if
>> folio is zero-filled
>> - Merge is_folio_zero_filled and is_folio_page_zero_filled into
>> 1 function.
>> - Use folio_zero_range to fill a folio with zero at readtime.
>> - Put swap_zeromap_folio_clear in an else branch (even if checkpatch
>> gives warning) and add comment to make it explicitly clear that it
>> needs to happen if folio is not zero filled.
>> - add missing kvfree for zeromap incase swapon fails.
>
> I queued the below as a delta against what was in mm-unstable.
>
> Can we please get this nailed down?
Thanks, yes its finished. There won't be anymore changes on this anymore.