Re: [PATCH v3 0/5] mm: A few cleanup patches around zap, shmem and uffd

From: Peter Xu
Date: Tue Sep 14 2021 - 12:37:52 EST


On Wed, Sep 08, 2021 at 12:35:11PM -0400, Peter Xu wrote:
> [Based on linus/master, commit ac08b1c68d1b which should contain the recent -mm
> pull, if not applicable, I can repost anytime]
>
> v3:
> - Patch "mm: Add zap_skip_check_mapping() helper"
> - In zap_skip_check_mapping() check zap_mapping first [Alistair]
> - Patch "mm: Add ZAP_FLAG_SKIP_SWAP and zap_flags":
> - Fix English errors in commit message [David]
> - Drop paragraph mentioning commit 22061a1ffabd in commit msg
> - Set ZAP_FLAG_SKIP_SWAP for unmap_mapping_page() too
> - Pick up r-bs

Ping - patches 1-4 have at least 1 ack already, the last patch is missing ack.

The change is quite straightforward as right now we apply SKIP_SWAP to all
"details" users of zapping process, so no functional change intended. It'll be
important for uffd-wp in the future because uffd-wp will start to use "details"
without setting SKIP_SWAP.

It would be great if anyone could help have a look at the last patch, thanks.

--
Peter Xu