Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp251405imm; Wed, 11 Jul 2018 01:36:46 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeVHYVv4k2rVr6YaAlbu8aaAW0h6+o9oxbs/FeXYBzw6jTRsgg85BNI/5KMlqA4WXdMDe73 X-Received: by 2002:a17:902:aa87:: with SMTP id d7-v6mr27829859plr.215.1531298206362; Wed, 11 Jul 2018 01:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531298206; cv=none; d=google.com; s=arc-20160816; b=sE/4aE2n3+i9HueGhbQ3B1TE1EGlbkL6g2eb/k88ZVR8Z0B+IDfFKCJ3IapDls8JV4 KUFh05wloGad0V1YwPv8t5vc27KTnbSbNXfz8ZjFRGHtvjzTCfI5g2RKsVJQrb0lrH6o nXY8ujBO09BheKiVse8NhTYmNnrOm98rjeU7nCHJDdRkiXADUr+XYqsp3Ba65eERutLF tuZdUPsVdbGixodA7weAYnm/pW7HyM0PTWJWDofhQFdsK+XzPMUkbfTJO1YPTwhF/cui wZeSMNOpOtxYD/nO3WpjH8s/MsvN6r776Ws/mlTKZ/3NJKwxRYZ2bC2+7IK1oIfZVl64 K03A== 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:arc-authentication-results; bh=BQyLoduk6e6xtiiqj8dSagj8Eb1KqCSMrZcSV1hUnOY=; b=d1klzv+cjM+Jvj2ZJ18Q5LqaQdb2KGD97ixpLctIT/aejcV3yrg9HlEXileW7FWVAd JgSnMLtI57u13XZHhjCTBQhzUu2izJG67nxdkglkHrPyvuTsHb5HvLoofBQ+S6wRPrGd GHjNfllSPXorx6oIgCcx/sNc9PfPzjQ/TdGWnn/ZB1Yiy6rXcxowHnHPQODFK/q7lSox IUDrcCn6M05XxjBmcDv2usdoK07opyKr9gUAms3xIcaXwOEZCmwysicBkyje3SfN/8QE aIT0vAjXEVsIeNeIyIE7oI7O9kH4uw9k4jgxeGwBP60Yu9wpfj7ChoiJtEGalnrhBG9D fq1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=fypWRPdM; 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 n11-v6si19054334plg.230.2018.07.11.01.36.19; Wed, 11 Jul 2018 01:36:46 -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=merlin.20170209 header.b=fypWRPdM; 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 S1732466AbeGKIhz (ORCPT + 99 others); Wed, 11 Jul 2018 04:37:55 -0400 Received: from merlin.infradead.org ([205.233.59.134]:56646 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726314AbeGKIhy (ORCPT ); Wed, 11 Jul 2018 04:37:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=BQyLoduk6e6xtiiqj8dSagj8Eb1KqCSMrZcSV1hUnOY=; b=fypWRPdM0kq2F6D846H/NOS4Y eEMMGXD1llRCQfGjnEcJC2uKl6Qzu61p4tgGUgm5k9K99v9kwxoWQVQdpdqAWlcIb1AeqCICkICmI fV+ItBqHSeQXUguHViqRB2Jh8n2WxuKrTlqU39pcHF+6+ZAX/yADWEurvRESUUS1rykNNI4V+udvP ujQYBoMQsdbYkIGljPCA2RiL5vDo2Q/aYjrm6CQqYphwiYCA8+aU63/xnsBVW00YoJEQ8Gl+WXCJ1 4OoZ7hXCFK33U7V0zgnQqHSxySYo3BgI8vA2r/bsCchITcx2C6XWOmtUIgAhtvo0XgCpHewWlG6Rz LhtYk831Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdAZj-0005Iz-7t; Wed, 11 Jul 2018 08:34:15 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 14FCF20291063; Wed, 11 Jul 2018 10:34:12 +0200 (CEST) Date: Wed, 11 Jul 2018 10:34:12 +0200 From: Peter Zijlstra 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 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> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.