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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 69AD2C5479D for ; Wed, 4 Jan 2023 13:32:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232040AbjADNcE (ORCPT ); Wed, 4 Jan 2023 08:32:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233812AbjADNbW (ORCPT ); Wed, 4 Jan 2023 08:31:22 -0500 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 936E6F0E; Wed, 4 Jan 2023 05:28:26 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1FC031EC0645; Wed, 4 Jan 2023 14:28:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1672838905; h=from:from: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:in-reply-to:in-reply-to: references:references; bh=M4exezlY2OdmtDJcZ7SGATML35Drmrf4DmtljZBELBU=; b=sTRYQxNRv189O2ywiRO60YX0kSyCUJ9Vj278c1F7yfP2By4xyrdXZF9fFyj1sOwyHDhoqm Hc/aJjQgx6MqcB21Hyx1uESdoSd74I6zkZl8ekoR85ukW395B3KCbpx+QpHyxcWcc1qp02 H70uFzneKqgfy0fJnJi+Y6mpuUMLRLw= Date: Wed, 4 Jan 2023 14:28:24 +0100 From: Borislav Petkov To: "Edgecombe, Rick P" Cc: "akpm@linux-foundation.org" , "tglx@linutronix.de" , "linux-arch@vger.kernel.org" , "kcc@google.com" , "Lutomirski, Andy" , "nadav.amit@gmail.com" , "kirill.shutemov@linux.intel.com" , "Schimpe, Christina" , "peterz@infradead.org" , "corbet@lwn.net" , "linux-kernel@vger.kernel.org" , "jannh@google.com" , "dethoma@microsoft.com" , "x86@kernel.org" , "pavel@ucw.cz" , "rdunlap@infradead.org" , "linux-api@vger.kernel.org" , "john.allen@amd.com" , "arnd@arndb.de" , "jamorris@linux.microsoft.com" , "rppt@kernel.org" , "bsingharora@gmail.com" , "mike.kravetz@oracle.com" , "oleg@redhat.com" , "fweimer@redhat.com" , "keescook@chromium.org" , "gorcunov@gmail.com" , "Yu, Yu-cheng" , "andrew.cooper3@citrix.com" , "hpa@zytor.com" , "mingo@redhat.com" , "hjl.tools@gmail.com" , "linux-mm@kvack.org" , "Syromiatnikov, Eugene" , "Yang, Weijiang" , "linux-doc@vger.kernel.org" , "dave.hansen@linux.intel.com" , "Eranian, Stephane" Subject: Re: [PATCH v4 12/39] x86/mm: Update ptep_set_wrprotect() and pmdp_set_wrprotect() for transition from _PAGE_DIRTY to _PAGE_COW Message-ID: References: <20221203003606.6838-1-rick.p.edgecombe@intel.com> <20221203003606.6838-13-rick.p.edgecombe@intel.com> <6b4b96ec7a1cc53541f25c5a5ee8fa310b693ccc.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6b4b96ec7a1cc53541f25c5a5ee8fa310b693ccc.camel@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Tue, Dec 27, 2022 at 10:26:33PM +0000, Edgecombe, Rick P wrote: > Sure on "Shadow Stack". For Write=0,Dirty=1 there was a previous > suggestion to standardize on how these bits are referred to across the > series in both the comments and commit logs. I think the capitalization > helps differentiate between the concepts of write and dirty and the > actual PTE bits with those names. Especially since shadow stack muddies > the concepts of writable and dirty memory, I thought it was a helpful > distinction. Is it ok? Oh sorry, I meant only s/Shadow Stack/shadow stack/ The page flags are fine. Bottom line is: hw documents love to capitalize features and concepts and that's just unnecessary marketing bla. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette