Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2614342imm; Wed, 3 Oct 2018 06:40:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV62Yun3No8y5xe9WHB/4Jrb1dSy9p3OMW0CULDUvrRXZvM8qPqSFngUO37IAdcQ7hAo9Pwso X-Received: by 2002:a65:448a:: with SMTP id l10-v6mr1476225pgq.382.1538574051453; Wed, 03 Oct 2018 06:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538574051; cv=none; d=google.com; s=arc-20160816; b=yj0/F0lJncg/nm2od2Q5Zpc/8jUv7Tc/1f8yEl6EQRR2Ez6QGMcgPaVl602Q3C956y HnYE2cYs97EcbyRJSXJSWwMs4Xin8nGCt7B10ZetqRPgFlfkijbZLlutgsSD8CS05J3F XIRDzVfshQ3ejVbXYEY4veJd7o49+HTu4la+NttWsmzgwQn++zu3rKqfidhxakDzKz8q pHD3L7ZRwyzblUCqzOEYczTDv6Fk1qO5SlhQci3tCDtj6XyphowDWdQML53eL0IFczDo fy5Y6yYRw9zObE/4/80BphxEkYh7tnwiSURUSTqNykvjNmM61olTRi5Wf9trM8L5wk60 z1iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3Rw/XTVe/ju3YBL/NgEP7zv9PNsaSYFUVMSwT0zeu7o=; b=uGrC3GS2/RRi/n5ICJnib8auf0EF4qnFiTYRw41byB2XwRpIY2W4jLbR82V8LEnwyV lrsE/9ofeiVTGcNbWXeP2Q+EalmouzysC6JIgnM2KVY1IjuA+j3kmimygk+OrBRFgy4J gihTH6tGj1CZyaECiw0fXItqfx6b2wVq70zrf/CCzA5kVChtAWuAQoIe0owVk1Ife92u gLqyDtXSywjf55mcK1kAlHNXKTB3JMs2lgGyenUPeK5zTWiHOLIYnAeGrQaoNifF7f8y civmP2yyXxqIiO2hGzEjHWH7GkJGSg5EUNk73hhVPkOD+UUlnh3xtE6qTo3CBjr39W3N 7NOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=CXR6ECAd; 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 v9-v6si1934018pfj.167.2018.10.03.06.40.36; Wed, 03 Oct 2018 06:40:51 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=CXR6ECAd; 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 S1726851AbeJCU1f (ORCPT + 99 others); Wed, 3 Oct 2018 16:27:35 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58502 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726748AbeJCU1e (ORCPT ); Wed, 3 Oct 2018 16:27:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3Rw/XTVe/ju3YBL/NgEP7zv9PNsaSYFUVMSwT0zeu7o=; b=CXR6ECAdP8ZX5iMrAbt6IWqHN moRmxFRhWQH3GOQC7vEQXCupNf2dj5AqE9bjPBCLPF1FX32ukQuWjJCSDywa8WnQDlP8fWeW7G/6q ZQQoFNTMMvomiy5Rj6zbNn1lVrEjtx9+ocprb+rALH5X3apcoZCIQkYQeZU/b5FKlcEYEfht9+IfM XK1VHsdL0cGk8+tCsHvLQZPt1r6/jdB3xWJCGCmGt/n0F9hFzOmoRCEMFx6Urn8c+J+MDNPiwhFnM XJsSMe7s2UlDT3G2vyRN1J0rxglAvYf3Hq2UHqRdokPz/SN8YVwgrcnIgRYpk2vPjEjz99laR/1PT P6ty4A6mA==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7hMe-0006A6-Vn; Wed, 03 Oct 2018 13:38:56 +0000 Date: Wed, 3 Oct 2018 06:38:56 -0700 From: Matthew Wilcox To: Yu-cheng Yu Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Cyrill Gorcunov , Dave Hansen , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue Subject: Re: [RFC PATCH v4 09/27] x86/mm: Change _PAGE_DIRTY to _PAGE_DIRTY_HW Message-ID: <20181003133856.GA24782@bombadil.infradead.org> References: <20180921150351.20898-1-yu-cheng.yu@intel.com> <20180921150351.20898-10-yu-cheng.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180921150351.20898-10-yu-cheng.yu@intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 21, 2018 at 08:03:33AM -0700, Yu-cheng Yu wrote: > We are going to create _PAGE_DIRTY_SW for non-hardware, memory > management purposes. Rename _PAGE_DIRTY to _PAGE_DIRTY_HW and > _PAGE_BIT_DIRTY to _PAGE_BIT_DIRTY_HW to make these PTE dirty > bits more clear. There are no functional changes in this > patch. I would like there to be some documentation in this patchset which explains the difference between PAGE_SOFT_DIRTY and PAGE_DIRTY_SW. Also, is it really necessary to rename PAGE_DIRTY? It feels like a lot of churn.