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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C434C433F5 for ; Fri, 30 Sep 2022 13:41:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B1E408D0002; Fri, 30 Sep 2022 09:41:40 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id ACC778D0001; Fri, 30 Sep 2022 09:41:40 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 96D468D0002; Fri, 30 Sep 2022 09:41:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 866448D0001 for ; Fri, 30 Sep 2022 09:41:40 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 50B8480A86 for ; Fri, 30 Sep 2022 13:41:40 +0000 (UTC) X-FDA: 79968864360.20.63191C6 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by imf14.hostedemail.com (Postfix) with ESMTP id BF2EE10000F for ; Fri, 30 Sep 2022 13:41:39 +0000 (UTC) Received: by mail-pj1-f51.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so9106643pjq.3 for ; Fri, 30 Sep 2022 06:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=Qoz8AmbfL3c1gEhb9RhVqolO2Z1Q7cU3//oNxnT6QiY=; b=lEw9Md54Prt5CXkYBqczlMBRAszMS3UrSUYyupvUcYRiqO09gvfojW/5clCytriixS 2808RzoaDYp61oGmZ99HmIzUJaXUj7qfptMeNj8c1POWwsxVBHnMHW5eHJ7eVQ7kbJDC 37oHvD+l3+mZZkvB4HR+RV3QXcBs3Gnwia+aka0g/Bvx7s3rv/S2+m7ycYVFA2NzegCX /VsEROR/dBjvTPWylKYne89QtOdOnn5GiizTeDaBCCfx7hMKZMbopyhPWIhn0wZrqUzL wrYqvyrKk7qj4uPS45mcn+WYnyuTZA/rt/bZ0E3bFtZj/6l/7vBHpzi8rbbKXc0catvl XBHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Qoz8AmbfL3c1gEhb9RhVqolO2Z1Q7cU3//oNxnT6QiY=; b=q6Gh5CYfVs+1tqsXPCoQAvCFxju9de0oqGV/y4xcbVYcvDXq2jpxUAylM8Af4D94Gd wCEVkkJHvfiKdLW5cO/7Dry6MpNdJCmmIWEU9NPRx7wND7mQrPi7orK8jvm/cSo/FMaI LgnjTC4QKsJd2Bsd3VCi+mhmdpFOhr1k5VNoD6S6jvZXaW/X060/WCz1FEPlbtarnSdu GXYQFXgYzEUDzgCtQERxNEiD4wQIjY3r5UA6TZQ3ZmC13WPmAgTMY+OJGsyJkHhnrymz O4hbHLDEoyDahAVcqYm8NEfwjWDPgbGGbDMwtvK+lmhc7OPJ5JEBMH4hmnr36VbiO40L nggA== X-Gm-Message-State: ACrzQf3BjEbs4wcFkyeQrTdhx7/nsy9fUmJsHqwpTg4dWSysE6urhyqd n4S0AG6TG0M4AUwWQm3WGKA= X-Google-Smtp-Source: AMsMyM4Kafj66tGKNKwprqNaME3IQ0fN09pKpo4y9u0Is68u+11h+++UwFTbdVUZJ5J3UYY2XafLRQ== X-Received: by 2002:a17:902:690a:b0:17a:32d:7acc with SMTP id j10-20020a170902690a00b0017a032d7accmr9017854plk.18.1664545298630; Fri, 30 Sep 2022 06:41:38 -0700 (PDT) Received: from [192.168.43.80] (subs32-116-206-28-32.three.co.id. [116.206.28.32]) by smtp.gmail.com with ESMTPSA id j17-20020a635511000000b00439c6a4e1ccsm1667305pgb.62.2022.09.30.06.41.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 06:41:38 -0700 (PDT) Message-ID: <0eb358ac-068c-d025-07e3-80a3c51ef39c@gmail.com> Date: Fri, 30 Sep 2022 20:41:24 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v2 01/39] Documentation/x86: Add CET description Content-Language: en-US To: Jonathan Corbet , Rick Edgecombe 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 , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H . J . Lu" , Jann Horn , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , Randy Dunlap , "Ravi V . Shankar" , Weijiang Yang , "Kirill A . Shutemov" , joao.moreira@intel.com, John Allen , kcc@google.com, eranian@google.com, rppt@kernel.org, jamorris@linux.microsoft.com, dethoma@microsoft.com, Yu-cheng Yu References: <20220929222936.14584-1-rick.p.edgecombe@intel.com> <20220929222936.14584-2-rick.p.edgecombe@intel.com> <87v8p5f0mg.fsf@meer.lwn.net> From: Bagas Sanjaya In-Reply-To: <87v8p5f0mg.fsf@meer.lwn.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664545299; a=rsa-sha256; cv=none; b=Eg/lk/QDsGJwLbLWtgxIS6BYnV081GpWoLpkPnxvlrTKLPIG0A9ipVxLNXANSNJPqz9ZUt LdZfB6biQOKLLexw0wzZ0IcUs7szK4LdmdUY75WRBqVOq6PMYDJ0mV22qQS+C05chtkFej YVIuuwceldmJ7bYOXNB1LPmb6cuaPeU= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lEw9Md54; spf=pass (imf14.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.51 as permitted sender) smtp.mailfrom=bagasdotme@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664545299; h=from:from:sender: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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Qoz8AmbfL3c1gEhb9RhVqolO2Z1Q7cU3//oNxnT6QiY=; b=jlIUP4VpceZ+RDr2Q4v9qBEbgq+WG46LmBINvmJ6pOwgoSZXoS6YwWmI0ig/UjRCJm2DHx yjVBXeZtDXv1vhj23XfPOtckRbVlMo0rmBxGwJFMyhBMl3J8lgGfHNEsEHZges4U+RKwMM 8Plmv5FnDJiFksJAqJQcWMDLICoHibY= X-Stat-Signature: 6m1rsxxpt9kya51nzre1rpcu7ufwhxwz X-Rspamd-Queue-Id: BF2EE10000F Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lEw9Md54; spf=pass (imf14.hostedemail.com: domain of bagasdotme@gmail.com designates 209.85.216.51 as permitted sender) smtp.mailfrom=bagasdotme@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1664545299-160655 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 9/30/22 20:33, Jonathan Corbet wrote: >> CET introduces Shadow Stack and Indirect Branch Tracking. Shadow stack is >> a secondary stack allocated from memory and cannot be directly modified by >> -applications. When executing a CALL instruction, the processor pushes the >> +applications. When executing a ``CALL`` instruction, the processor pushes the > > Just to be clear, not everybody is fond of sprinkling lots of ``literal > text`` throughout the documentation in this way. Heavy use of it will > certainly clutter the plain-text file and can be a net negative overall. > Actually there is a trade-off between semantic correctness and plain-text clarity. With regards to inline code samples (like identifiers), I fall into the former camp. But when I'm reviewing patches for which the surrounding documentation go latter camp (leave code samples alone without markup), I can adapt to that style as long as it causes no warnings whatsover. -- An old man doll... just what I always wanted! - Clara