Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp525811ybx; Tue, 5 Nov 2019 01:13:37 -0800 (PST) X-Google-Smtp-Source: APXvYqymHZ1sPRgGb5Mjj0vuj+jpLyJetTu1JrsZpPNyxR2IN319hEPJQtoQu0uxkWQ006Mr2XhZ X-Received: by 2002:a17:907:41ae:: with SMTP id of22mr28452134ejb.30.1572945217334; Tue, 05 Nov 2019 01:13:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572945217; cv=none; d=google.com; s=arc-20160816; b=I4Kfws3iIJeihCRxpU0iY8rHBjlCRiDK9l5Bq3y1EpOayYSNwUGHHvVl/kge9ku7ew N9zabIIvP9/YjFeLSG4lev+gNv/y7t5lrY7dltk/Wlk067SZG4AC3RLK1SVBc8XsEcVa 30MOFuvYgJbACPzrfjTGtoZ+nwtZXOz8uzAq0hhndPZenGB0vuMNOchZ05MamtysfiAy KnAuYp8XmPQ1X4YH/RWoaTe8HkG+3dBDJnFxZr947Q+yYcYUIRo/8iVPu/3hBnc1/+KN 0z0fLv1RGb9ai3pq60rZCk5p0C6GuMYfHlprLBiZfEF+KL5ggXLkE6XBeuW2eNbt6Yo0 ve7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=mNWXn0ibXuNPmJFlbLznKE3lLL+C09B+tlzzAG0r4ws=; b=o48BbsqZN8aeVkbmrCaWchKMLWqSa0/rHb1BYsDB7skUscUngOPfYSZhRTeCpEEKIZ GRqy7MEUwD9ZH8CG8+awW/mp+2RdLwFhQzG9aN3/wP2pp4TSk+AudaGmn2dL8AEnicAU aHfaIjUhTvM7qbdbK7Z4H3LWmP3ihMojPeqMjAnfhAROT5PV3c/XIqZ2+OLrKXcycsyC +vXnJDaL4N6i53YtEPEOgcFxuYFW6to1fzNo6veNwDy0lt5iVTOCDOFLrlYzrstlsjsd 04qISOYWC5xTErrRxBwF0MYTDKXkn+uXwEdelqYu3XfWibi4SFJaQ8G2LhAyzwAhw4Jh Ik1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si5736369eja.438.2019.11.05.01.13.14; Tue, 05 Nov 2019 01:13:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730686AbfKEJKi convert rfc822-to-8bit (ORCPT + 99 others); Tue, 5 Nov 2019 04:10:38 -0500 Received: from tyo162.gate.nec.co.jp ([114.179.232.162]:40959 "EHLO tyo162.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729171AbfKEJKi (ORCPT ); Tue, 5 Nov 2019 04:10:38 -0500 Received: from mailgate02.nec.co.jp ([114.179.233.122]) by tyo162.gate.nec.co.jp (8.15.1/8.15.1) with ESMTPS id xA59ALpw009604 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 5 Nov 2019 18:10:21 +0900 Received: from mailsv02.nec.co.jp (mailgate-v.nec.co.jp [10.204.236.94]) by mailgate02.nec.co.jp (8.15.1/8.15.1) with ESMTP id xA59ALr6007501; Tue, 5 Nov 2019 18:10:21 +0900 Received: from mail03.kamome.nec.co.jp (mail03.kamome.nec.co.jp [10.25.43.7]) by mailsv02.nec.co.jp (8.15.1/8.15.1) with ESMTP id xA59AL0p027424; Tue, 5 Nov 2019 18:10:21 +0900 Received: from bpxc99gp.gisp.nec.co.jp ([10.38.151.148] [10.38.151.148]) by mail01b.kamome.nec.co.jp with ESMTP id BT-MMP-10078506; Tue, 5 Nov 2019 18:09:45 +0900 Received: from BPXM23GP.gisp.nec.co.jp ([10.38.151.215]) by BPXC20GP.gisp.nec.co.jp ([10.38.151.148]) with mapi id 14.03.0439.000; Tue, 5 Nov 2019 18:09:44 +0900 From: Naoya Horiguchi To: Yunfeng Ye CC: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "hushiyuan@huawei.com" , "linfeilong@huawei.com" Subject: Re: [PATCH] mm/memory-failure.c: replace with page_shift() in add_to_kill() Thread-Topic: [PATCH] mm/memory-failure.c: replace with page_shift() in add_to_kill() Thread-Index: AQHVk7IjOfxiniM4JEmew4TP7s3IhKd7s0IA Date: Tue, 5 Nov 2019 09:09:44 +0000 Message-ID: <20191105090944.GA29554@hori.linux.bs1.fc.nec.co.jp> References: <7bc9d610-728c-37b0-d175-dba21dc0dfff@huawei.com> In-Reply-To: <7bc9d610-728c-37b0-d175-dba21dc0dfff@huawei.com> Accept-Language: en-US, ja-JP Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.34.125.150] Content-Type: text/plain; charset="iso-2022-jp" Content-ID: <587BFB72EE2C8B4A9C1842BF814BA0B9@gisp.nec.co.jp> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 05, 2019 at 04:21:44PM +0800, Yunfeng Ye wrote: > The function page_shift() is supported after the commit 94ad9338109f > ("mm: introduce page_shift()"). > > So replace with page_shift() in add_to_kill() for readability. > > Signed-off-by: Yunfeng Ye Acked-by: Naoya Horiguchi