From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f72.google.com (mail-it0-f72.google.com [209.85.214.72]) by kanga.kvack.org (Postfix) with ESMTP id B56136B0007 for ; Wed, 11 Jul 2018 04:34:36 -0400 (EDT) Received: by mail-it0-f72.google.com with SMTP id k187-v6so10762069ita.1 for ; Wed, 11 Jul 2018 01:34:36 -0700 (PDT) Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id m10-v6si1119145iti.44.2018.07.11.01.34.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jul 2018 01:34:35 -0700 (PDT) Date: Wed, 11 Jul 2018 10:34:12 +0200 From: Peter Zijlstra Subject: Re: [RFC PATCH v2 08/27] mm: Introduce VM_SHSTK for shadow stack memory Message-ID: <20180711083412.GP2476@hirez.programming.kicks-ass.net> References: <20180710222639.8241-1-yu-cheng.yu@intel.com> <20180710222639.8241-9-yu-cheng.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180710222639.8241-9-yu-cheng.yu@intel.com> Sender: owner-linux-mm@kvack.org List-ID: 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 , "Ravi V. Shankar" , Vedvyas Shanbhogue On Tue, Jul 10, 2018 at 03:26:20PM -0700, Yu-cheng Yu wrote: > VM_SHSTK indicates a shadow stack memory area. > > A shadow stack PTE must be read-only and dirty. For non shadow > stack, we use a spare bit of the 64-bit PTE for dirty. The PTE > changes are in the next patch. This doesn't make any sense.. the $subject and the patch seem completely unrelated to this Changelog.