Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4156902ybi; Mon, 29 Jul 2019 20:30:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpaVqXch1GS5LyJqMfA3oDxMCfztDc61+EPIk/OfmYCE7l8sl4+566mbnPu7TVj9jEIYNd X-Received: by 2002:a17:90a:346c:: with SMTP id o99mr112524634pjb.20.1564457432922; Mon, 29 Jul 2019 20:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564457432; cv=none; d=google.com; s=arc-20160816; b=NvfWKt9Q55TGDv5vzHqPXCwQ5qnV9AKXa32CnFO0FShg007FP+x6RZnuPQyoEVN07x NHSJZNTzNUMksMPoiYSUCuIfP8NFgSnQvahmolSxasdPrAygA/4Hm87p1tebDvfVEH6n a5a5CR3K0bFzrRcV3Po/vWIM2PJkn10Nqr7ADRbWsoTte3UsmquWHdqdKTYh9kuhI+Pe nnLtnUwBM6AurNRyCIdPKxwp+ZbA5zMX77gWtWRI0GfkGfNCU+/j1u2V2lc9cEMYu9zx 6+PtV9ewXHjRTDQ1ImJ12hEUhTKZNxdaFpzHdRzMJFJCHPF5HL1KoNn75fx5rEYOzANP eNwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=0+thxvZnJ+gcbF/O0zGGEBA6QvsuJ+b1Oc5FzJoq0pI=; b=euc3QDf75QD6Q+ENRr8cqw2FGGXigzJf0D4TAfZWazxw3242sRTsogxZziTv/CFm2/ ulT1a6T4wAMkBY3qmkDsMwkDMDc87lAr+f2GGdOwZ5B3FFBVG9e3QuRkj6Eo8ZMVU+Yy IhszWlq1j7kUH1WpsiweHbODf6J7Z7iZWr5yI9iKK/zqon06lubM9e5AGq49rcIpDgjO JKUWr1qMEqZjccSGKFKWsb7PmXHE9c/+Pkn3748OAhowUbiYg5y2dk2yxhJ/LMN9Rrl5 Wq7S8ZaUQAwDTZl65YpV3Dk/1C2ZAixjAhY1povxZ+Q9Jx5nd+nAQqIRPuz+Y+q8jo54 zqQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=jjOqVbu0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g24si28831572pfi.119.2019.07.29.20.30.17; Mon, 29 Jul 2019 20:30:32 -0700 (PDT) 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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=jjOqVbu0; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729531AbfG2X36 (ORCPT + 99 others); Mon, 29 Jul 2019 19:29:58 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:18374 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726748AbfG2X35 (ORCPT ); Mon, 29 Jul 2019 19:29:57 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 29 Jul 2019 16:29:57 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 29 Jul 2019 16:29:57 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 29 Jul 2019 16:29:57 -0700 Received: from rcampbell-dev.nvidia.com (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 29 Jul 2019 23:29:55 +0000 Subject: Re: [PATCH 7/9] mm: remove the unused MIGRATE_PFN_ERROR flag To: Christoph Hellwig , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Jason Gunthorpe , Ben Skeggs CC: Bharata B Rao , Andrew Morton , , , , References: <20190729142843.22320-1-hch@lst.de> <20190729142843.22320-8-hch@lst.de> X-Nvconfidentiality: public From: Ralph Campbell Message-ID: <32f08aa4-c9a3-9545-69aa-2cc3695e15df@nvidia.com> Date: Mon, 29 Jul 2019 16:29:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190729142843.22320-8-hch@lst.de> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1564442997; bh=0+thxvZnJ+gcbF/O0zGGEBA6QvsuJ+b1Oc5FzJoq0pI=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=jjOqVbu0SE9IxctyMwqyl6NjiHxbcjJTt/QVPTeHFWZn91g7rXHLoSsXIJCkRMepQ 4RDY3eiq+JBeMQ2R9fiv8HeECvSmM4knWmk7sjO4TB+BOlqd8o0nizQlMk7DYq6sLe +sqF9pqPZKgpUwuguZXMwVmav3HEr6qCsATcyT863EyZfvbK1jjnL6yqbPEQd9ijjJ ydsHBn1jU60iHnXNioMmy0fn3Po4Y09SrgrhUiGTMRt6lWOqkn7isWclIxYgC0avDf v8q4S08zaE3ikIRtGMn7WjLZkqBtGEBL5IeWH0mes0o8HnufoNHBj4X8jpeZ1nRHSl igU0UgPAUNzQQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/29/19 7:28 AM, Christoph Hellwig wrote: > We don't use this flag anymore, so remove it. > > Signed-off-by: Christoph Hellwig Reviewed-by: Ralph Campbell > --- > include/linux/migrate.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/linux/migrate.h b/include/linux/migrate.h > index 093d67fcf6dd..229153c2c496 100644 > --- a/include/linux/migrate.h > +++ b/include/linux/migrate.h > @@ -167,7 +167,6 @@ static inline int migrate_misplaced_transhuge_page(struct mm_struct *mm, > #define MIGRATE_PFN_LOCKED (1UL << 2) > #define MIGRATE_PFN_WRITE (1UL << 3) > #define MIGRATE_PFN_DEVICE (1UL << 4) > -#define MIGRATE_PFN_ERROR (1UL << 5) > #define MIGRATE_PFN_SHIFT 6 The MIGRATE_PFN_SHIFT could be reduced to 5 since it is only used to make room for the flags. > static inline struct page *migrate_pfn_to_page(unsigned long mpfn) >