From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6B00C433F5 for ; Tue, 14 Sep 2021 16:37:33 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 5D564610A6 for ; Tue, 14 Sep 2021 16:37:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5D564610A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id ADE606B0071; Tue, 14 Sep 2021 12:37:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A8F55900002; Tue, 14 Sep 2021 12:37:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 92F606B0073; Tue, 14 Sep 2021 12:37:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0083.hostedemail.com [216.40.44.83]) by kanga.kvack.org (Postfix) with ESMTP id 8467F6B0071 for ; Tue, 14 Sep 2021 12:37:32 -0400 (EDT) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 4538B8249980 for ; Tue, 14 Sep 2021 16:37:32 +0000 (UTC) X-FDA: 78586734744.11.7CD2F48 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf18.hostedemail.com (Postfix) with ESMTP id CFCD14002085 for ; Tue, 14 Sep 2021 16:37:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631637451; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VemZzHEHtvtRUEB5jhPXKS5+fvR58IDWDZBKVTdj0Ds=; b=iQdKk1SD+o0frtohmwVTvS3GUrSCKDyFZFgrN5Pl9sfogb5t5qBeOCGE4XAHCwgSJajdut GXyQe4/5l21E98//XEhFwJ7Xkq2PC43UqC7se7Y/mTJynuSPfpI2rWD916f/GqpjTfV8id lBEblwcRpaXGOa0zZEnbTeWrgLDUQq0= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-58-jPP0mS-xOEmB6i2NPtxGEw-1; Tue, 14 Sep 2021 12:37:28 -0400 X-MC-Unique: jPP0mS-xOEmB6i2NPtxGEw-1 Received: by mail-qv1-f71.google.com with SMTP id j4-20020ad454c4000000b0037a900dda7aso8345016qvx.14 for ; Tue, 14 Sep 2021 09:37:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VemZzHEHtvtRUEB5jhPXKS5+fvR58IDWDZBKVTdj0Ds=; b=JDL7b5Ko1NLcpbQF28Tb4UGh09iEQIJP265ArIaWn8a9+YRao98JI37EzyWPQAwDp7 4IV8MdDbtwkP+LgZkJ63R67l6Dqi8pC+W22rNKQnxvwvH3gL0J883o5vsZL4OMp3AZcz aUEsxQwB5O4qcoePx3xvLNt0EzbG7RYMuUgKYkYnKQoLifKEKIF7Hb1IwWwVwxwUfUZ6 wLCd+Wr1TOElnEEJzRgevNigT4/jaNhtKbdcOJWpClfcfT4Txr9udqCLMXCU13D+pkqU QZZZ/vXw9X8iU07vyYsb0+5K76o6+j+0tqXcgBqlXTN/HhudAKRXigBv7Lq1x6NYudcj y79Q== X-Gm-Message-State: AOAM530jSHSCMPwICrB+4H5mfk29DwkRGVttcmUY44xrdEJWLKG8wv4h tTizl5vYv7rKoBGkjaiMP27v6kis4ptsbosBcS+YyKUdUlby21PQgNyon3RR6c2S5hn8pwW0yKe 17Buaq3wmnv8= X-Received: by 2002:ac8:6bd0:: with SMTP id b16mr5807456qtt.375.1631637447734; Tue, 14 Sep 2021 09:37:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxGn2r5G56Z4L4YfGFdhotY8WSkdSKL9b2c1wMMNiVWfrcMFfm6lfVhTbNjIhzVBNkBFCDVA== X-Received: by 2002:ac8:6bd0:: with SMTP id b16mr5807420qtt.375.1631637447457; Tue, 14 Sep 2021 09:37:27 -0700 (PDT) Received: from t490s ([2607:fea8:56a2:9100::d35a]) by smtp.gmail.com with ESMTPSA id q10sm8128857qke.108.2021.09.14.09.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Sep 2021 09:37:26 -0700 (PDT) Date: Tue, 14 Sep 2021 12:37:25 -0400 From: Peter Xu To: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hugh Dickins , Andrew Morton Cc: Yang Shi , Miaohe Lin , Alistair Popple , Matthew Wilcox , David Hildenbrand , Jerome Glisse , "Kirill A . Shutemov" , Andrea Arcangeli , Liam Howlett , Mike Rapoport Subject: Re: [PATCH v3 0/5] mm: A few cleanup patches around zap, shmem and uffd Message-ID: References: <20210908163516.214441-1-peterx@redhat.com> MIME-Version: 1.0 In-Reply-To: <20210908163516.214441-1-peterx@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: CFCD14002085 X-Stat-Signature: dzknx4qpkpeyk56h8pamgpmihuk96oca Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=iQdKk1SD; spf=none (imf18.hostedemail.com: domain of peterx@redhat.com has no SPF policy when checking 170.10.133.124) smtp.mailfrom=peterx@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-HE-Tag: 1631637451-5288 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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