Received: by 2002:a05:6512:3d0e:0:0:0:0 with SMTP id d14csp635926lfv; Tue, 12 Apr 2022 00:34:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCaVXrfrP9R5S4Lyf4TbFzzBXabB1rEO/41gCwYQNXNJecUujGOyRPZY/FhVmnLc8/0hyL X-Received: by 2002:a17:907:7d91:b0:6d7:a1e:a47a with SMTP id oz17-20020a1709077d9100b006d70a1ea47amr34582496ejc.116.1649748856468; Tue, 12 Apr 2022 00:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649748856; cv=none; d=google.com; s=arc-20160816; b=UakwTo30vewMg2F0bEuP9uJHnH5t+nbuxHVvV7hn7Pzu82ef4pU475jWTOc45x02/e +yxQQwHx04ETkM/A2d3eLUgV4+JjrkeuSsZqSxA4FOkY9ybaxOTCfts+QHwXazQyKiHo c8nJxg78Qp5Deqe586eg7Ly4f0ISScFFeTRXsveyasX3K7NwukkC2IILL+U2aWLBjWLJ iVymxp5NfHNXMw22c36qBeIPn4SJs2uwe89mDhnubJlNNBu2b/XmWIiShbJsJSyT9RF/ h9Bif35qN5Hqaon07TZFpcW8OGzdCQdbq8vNdNMNRajIV09QBMlQoFRF3C6ucLCrZsmB 66Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :ironport-hdrordr:ironport-data; bh=YbqUIDHN9rSMdxbyMFiNwoVcS9fZy4c4crsA2gqTFrg=; b=AQ1ICXdxQ0HLCwVx1Kb3nFjbdf/kP27jZgVVVReFnlbubuEAN9Fl3+RzUlCx2kLdPs +RKuTqDgO2pcl33/jcdbURjLZiSaQfBVocuxqimmNP2ZIN0iYN6/ibBWJ0qv6HToF5HZ WsiOutc7EqD8CZ4cKWQBlkgr2LHvfa6cGRLuNEj28xLWZzHwaGmjV2HwDFjZe1KlvgUo cZlIN/sdT73RDAEF+wudwrZLDb3vFlG7aJ4jfUzxLHipK92MG2MzebsMPGrqfsp7UB/O 9epCzfJhxqHq/ZYeWuM1DsRIuDbbBJTZxtk10I5/qZwq4lMcIzPCmctS++ERJ6sIZKEJ W44g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a17090669c500b006e758101c05si8208094ejs.922.2022.04.12.00.33.52; Tue, 12 Apr 2022 00:34:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245610AbiDKJlw (ORCPT + 99 others); Mon, 11 Apr 2022 05:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237470AbiDKJls (ORCPT ); Mon, 11 Apr 2022 05:41:48 -0400 Received: from heian.cn.fujitsu.com (mail.cn.fujitsu.com [183.91.158.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 28ADB1B7A6; Mon, 11 Apr 2022 02:39:33 -0700 (PDT) IronPort-Data: =?us-ascii?q?A9a23=3AgRuiuqIDifFuNuOBFE+RrpQlxSXFcZb7ZxGrkP8?= =?us-ascii?q?bfHDshjwh1zNSnGccC2/UaauCM2v9e4slYNni9UIEsJeBz4NqS1BcGVNFFSwT8?= =?us-ascii?q?ZWfbTi6wuYcBwvLd4ubChsPA/w2MrEsF+hpCC+MzvuRGuK59yMkj/nRHuOU5NP?= =?us-ascii?q?sYUideyc1EU/Ntjozw4bVsqYw6TSIK1vlVeHa+qUzC3f5s9JACV/43orYwP9ZU?= =?us-ascii?q?FsejxtD1rA2TagjUFYzDBD5BrpHTU26ByOQroW5goeHq+j/ILGRpgs1/j8mDJW?= =?us-ascii?q?rj7T6blYXBLXVOGBiiFIPA+773EcE/Xd0j87XN9JFAatToy+UltZq2ZNDs4esY?= =?us-ascii?q?Qk0PKzQg/lbWB5de817FfQco+OYeSnn66R/yGWDKRMA2c5GAEgoPIEw9PxwBGZ?= =?us-ascii?q?U//0EbjsKa3irh+m26LO9RPNliskqII/sJox3kn1py3fbS+knRZTCSqDRzd5ew?= =?us-ascii?q?Do0wMtJGJ72a8gGbjxgRBfNeRtCPhEQEp1WtOOpgGTvNjhdgFGLrKE0pW/Jw2R?= =?us-ascii?q?Z1qbhMd/QUtiLXtlO2EKZoH/WuWj0HHkyNNef4T6e7jSgi4fnnyr9VcQZFKCQ8?= =?us-ascii?q?eRji1megGcUDXU+UVq9vOn8hFWyVsxSL2QK9Sc066s/7kqmSp/6RRLQiHqFuAM?= =?us-ascii?q?MHtldCes37CmTxafOpQWUHG4JSnhGctNOnMs3QyE6k0+HhPv3CjF19r6YU3SQ8?= =?us-ascii?q?vGTtzzaBMS/BQfufgddFU1cvYal+9p103ryoh9YOPbdprXI9fvYmFhmdBQDuog?= =?us-ascii?q?=3D?= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3ALopJ36zYdAy1BA3b1mhsKrPwyL1zdoMgy1kn?= =?us-ascii?q?xilNoRw8SL37qynIpoVj6faUskd2ZJhOo7+90cW7MBfhHNtOkO4s1NSZMjUO2l?= =?us-ascii?q?HFEGgK1+KLqFeMJ8S9zJ856U4KSchD4bPLfDtHZIrBgTVQDexQveWvweS5g/vE?= =?us-ascii?q?1XdxQUVPY6Fk1Q1wDQGWCSRNNXJ7LKt8BJyB/dBGujblXXwWa/6wDn4DU/OGiM?= =?us-ascii?q?bMkPvdEGQ7Li9i+A+Tlimp9bK/NxCZ2y0VWzRJzaxn0UWtqX2A2pme?= X-IronPort-AV: E=Sophos;i="5.88,333,1635177600"; d="scan'208";a="123470902" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 11 Apr 2022 17:39:25 +0800 Received: from G08CNEXMBPEKD04.g08.fujitsu.local (unknown [10.167.33.201]) by cn.fujitsu.com (Postfix) with ESMTP id B6A434D17168; Mon, 11 Apr 2022 17:39:23 +0800 (CST) Received: from G08CNEXCHPEKD09.g08.fujitsu.local (10.167.33.85) by G08CNEXMBPEKD04.g08.fujitsu.local (10.167.33.201) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Mon, 11 Apr 2022 17:39:27 +0800 Received: from [192.168.22.28] (10.167.225.141) by G08CNEXCHPEKD09.g08.fujitsu.local (10.167.33.209) with Microsoft SMTP Server id 15.0.1497.23 via Frontend Transport; Mon, 11 Apr 2022 17:39:22 +0800 Message-ID: <38060b98-aa1c-1cef-5db5-9ad54f63b0aa@fujitsu.com> Date: Mon, 11 Apr 2022 17:39:23 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v12 2/7] mm: factor helpers for memory_failure_dev_pagemap To: Christoph Hellwig CC: , , , , , , , , , Christoph Hellwig References: <20220410160904.3758789-1-ruansy.fnst@fujitsu.com> <20220410160904.3758789-3-ruansy.fnst@fujitsu.com> From: Shiyang Ruan In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-yoursite-MailScanner-ID: B6A434D17168.A32DF X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: ruansy.fnst@fujitsu.com X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2022/4/11 14:37, Christoph Hellwig 写道: >> + unmap_and_kill(&to_kill, pfn, page->mapping, page->index, flags); >> +unlock: >> + dax_unlock_page(page, cookie); >> + return 0; > > As the buildbot points out this should probably be a "return rc". Yes, my mistake, when resolving the conflict with latest code. -- Thanks, Ruan