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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4B117ECAAD3 for ; Thu, 15 Sep 2022 02:56:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9CDA46B0071; Wed, 14 Sep 2022 22:56:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 97DD88D0002; Wed, 14 Sep 2022 22:56:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7F7208D0001; Wed, 14 Sep 2022 22:56:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 69E606B0071 for ; Wed, 14 Sep 2022 22:56:25 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 44C80C05A7 for ; Thu, 15 Sep 2022 02:56:25 +0000 (UTC) X-FDA: 79912806330.27.A9945E8 Received: from mail1.bemta37.messagelabs.com (mail1.bemta37.messagelabs.com [85.158.142.2]) by imf11.hostedemail.com (Postfix) with ESMTP id A226B4009B for ; Thu, 15 Sep 2022 02:56:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.com; s=170520fj; t=1663210582; i=@fujitsu.com; bh=KYWApU6PxzEgeqj7O7Mhvqnj29zw7K55+D3skzJQUHY=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=mUMt3672IvUaWR7eLce86gAU5LNK14HL1Lr9FML4Sy3YodAZJ2XSyNlejsoVNvmuA Gehi1IVIwly0gWQJcRov/rASO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koiQkmpg2qV0Zvdcrk/X0urPFC09trP1+U3ly5aJ0lyOR263NGW7iCvt5Sl8H+ rfsHCyVl7CDnmd9sXzF9nEFQn4KL57oXEp66BjaP9ivWlfXpwua45IdHq4/oN8t9xJtnMFXtd +Gm08r7dd2ls8od/je5/hB9Fd80xdOwSVoh78zwnzsxSxVphTpH5h+aQ3JcZdCzgPJ6UmLfR+ 8+PGd6deocXM7qy8+dkuAuwPRC+W7GS6+/d3ZoT5vJ/qC+vW8Mx8++NVskVJRus2xpAdvodr1 qbPPWF35OLWmWn38z4n+cmytFyrfbzXRH6b4sqn66QDbC2lzGWznwmYsKc9LG6WufzdMSMt9T vretsL874fWKekxFKckWioxVxUnAgAJYLW2dIDAAA= X-Env-Sender: ruansy.fnst@fujitsu.com X-Msg-Ref: server-13.tower-728.messagelabs.com!1663210580!100538!1 X-Originating-IP: [62.60.8.146] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.87.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 8838 invoked from network); 15 Sep 2022 02:56:20 -0000 Received: from unknown (HELO n03ukasimr02.n03.fujitsu.local) (62.60.8.146) by server-13.tower-728.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 15 Sep 2022 02:56:20 -0000 Received: from n03ukasimr02.n03.fujitsu.local (localhost [127.0.0.1]) by n03ukasimr02.n03.fujitsu.local (Postfix) with ESMTP id E42A11000CC; Thu, 15 Sep 2022 03:56:19 +0100 (BST) Received: from R01UKEXCASM121.r01.fujitsu.local (R01UKEXCASM121 [10.183.43.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by n03ukasimr02.n03.fujitsu.local (Postfix) with ESMTPS id D61B8100078; Thu, 15 Sep 2022 03:56:19 +0100 (BST) Received: from [192.168.22.78] (10.167.225.141) by R01UKEXCASM121.r01.fujitsu.local (10.183.43.173) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Thu, 15 Sep 2022 03:56:15 +0100 Message-ID: Date: Thu, 15 Sep 2022 10:56:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH v8 0/3] mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind To: "Darrick J. Wong" CC: , , , , , , , , References: <9e9521a4-6e07-e226-2814-b78a2451656b@fujitsu.com> <1662114961-66-1-git-send-email-ruansy.fnst@fujitsu.com> From: Shiyang Ruan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.167.225.141] X-ClientProxiedBy: G08CNEXCHPEKD07.g08.fujitsu.local (10.167.33.80) To R01UKEXCASM121.r01.fujitsu.local (10.183.43.173) X-Virus-Scanned: ClamAV using ClamSMTP ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663210585; a=rsa-sha256; cv=none; b=MBtzsl8MA8ieJKeCqSggwfh7bXY1AJmH3Hti8OIm7nFXmL0ni222WZ9+/C3wAzzVw7v5Qk ZczQXnub6r6h1rMLAS36nOAhmRnhML5SbAlKpK3u1f+xjSD+c5xdN+WfgI/augESP+1zFK JI0Aa2BensrlZw7Vr0CYPzg3kJMnf+A= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=fujitsu.com header.s=170520fj header.b=mUMt3672; dmarc=pass (policy=none) header.from=fujitsu.com; spf=pass (imf11.hostedemail.com: domain of ruansy.fnst@fujitsu.com designates 85.158.142.2 as permitted sender) smtp.mailfrom=ruansy.fnst@fujitsu.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663210584; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=KYWApU6PxzEgeqj7O7Mhvqnj29zw7K55+D3skzJQUHY=; b=NfoM/2EZGES7BnCosA3wsCq8+6ab66m49GZaYAvZsmsV5sPqAKtxyEx4H/ZSxd9/lAE2fl T+p0LGPhhIDb71ZcsdubpVOrQRa111UG8BxUEHUiwakKId0ka26jin91WUY8/gki3S9pqT VhT6CsCvswrDit5b0lPd7Zdrq5EM5Tk= Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=fujitsu.com header.s=170520fj header.b=mUMt3672; dmarc=pass (policy=none) header.from=fujitsu.com; spf=pass (imf11.hostedemail.com: domain of ruansy.fnst@fujitsu.com designates 85.158.142.2 as permitted sender) smtp.mailfrom=ruansy.fnst@fujitsu.com X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: A226B4009B X-Stat-Signature: bbc1m5utzji57yxcdjwn1ciktkwcieir X-Rspam-User: X-HE-Tag: 1663210583-99985 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: 在 2022/9/15 2:15, Darrick J. Wong 写道: > On Wed, Sep 14, 2022 at 11:09:23AM -0700, Darrick J. Wong wrote: >> On Wed, Sep 07, 2022 at 05:46:00PM +0800, Shiyang Ruan wrote: >>> ping >>> >>> 在 2022/9/2 18:35, Shiyang Ruan 写道: >>>> Changes since v7: >>>> 1. Add P1 to fix calculation mistake >>>> 2. Add P2 to move drop_pagecache_sb() to super.c for xfs to use >>>> 3. P3: Add invalidate all mappings after sync. >>>> 4. P3: Set offset&len to be start&length of device when it is to be removed. >>>> 5. Rebase on 6.0-rc3 + Darrick's patch[1] + Dan's patch[2]. >>>> >>>> Changes since v6: >>>> 1. Rebase on 6.0-rc2 and Darrick's patch[1]. >>>> >>>> [1]: https://lore.kernel.org/linux-xfs/Yv5wIa2crHioYeRr@magnolia/ >>>> [2]: https://lore.kernel.org/linux-xfs/166153426798.2758201.15108211981034512993.stgit@dwillia2-xfh.jf.intel.com/ >> >> Just out of curiosity, is it your (or djbw's) intent to send all these >> as bugfixes for 6.0 via akpm like all the other dax fixen? > > Aha, this is 6.1 stuff, please ignore this question. Actually I hope these patches can be merged ASAP. (But it seems a bit late for 6.0 now.) And do you know which/whose branch has picked up your patch[1]? I cannot find it. -- Thanks, Ruan. > > --D > >> --D >> >>>> >>>> Shiyang Ruan (3): >>>> xfs: fix the calculation of length and end >>>> fs: move drop_pagecache_sb() for others to use >>>> mm, pmem, xfs: Introduce MF_MEM_REMOVE for unbind >>>> >>>> drivers/dax/super.c | 3 ++- >>>> fs/drop_caches.c | 33 --------------------------------- >>>> fs/super.c | 34 ++++++++++++++++++++++++++++++++++ >>>> fs/xfs/xfs_notify_failure.c | 31 +++++++++++++++++++++++++++---- >>>> include/linux/fs.h | 1 + >>>> include/linux/mm.h | 1 + >>>> 6 files changed, 65 insertions(+), 38 deletions(-) >>>>