Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp69807imm; Fri, 21 Sep 2018 10:27:29 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbwSPHHqW8plKSXS2R7gEU58QqKsAlmYIlTXXH0MnbB+dRO45TGEnZt/m5kGHriqFma1l3+ X-Received: by 2002:a63:da04:: with SMTP id c4-v6mr43014358pgh.398.1537550848938; Fri, 21 Sep 2018 10:27:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537550848; cv=none; d=google.com; s=arc-20160816; b=raeQL+RF1lihQsNOyZgC0IwPNmxWyhSTt16gM+u57xEBbbrIFzAIwAQ3yem9y+5DGM I37Dbx958fBmo1IIgfJkk/p1+TzwhB1UU7NuRtp+ofUOn+UFWSg5eaGR6wMR+3R2bw1B dWaSDi+oKusJCxLnRWpfJCRl/zjx8B0XB2/oe+4TLwQi8ibiY6MqFcXqw7rOuwoWX2LQ OWB3fHHm0SxIH1gBGuOlnJA2gAVufPyhWpIKVEl2YuXY1Qa1POBTdvyRSfqKyYTcFBbW /9k/cOp5iRHK292SEymTFOBGo/CMWPm9vdb3HkaQ41UnlXehDbuQAWPtMcMgNDR+SDVv vtTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:to:from:subject:message-id; bh=DL88K2M6gnQ3Nr7lyK8qMe5EhHEmPcvDfNqusdyB/m0=; b=FD99ylbETYjhqkt+s+tEsM2tgIsuVyacLYaXmZJSCb5rZdBGM3UiP+i3dBGf8Je/3Q qSQ3K22OQ1yCCur6HXW8rUVPMSjKY46Kd22UNHW9JATGpNoLivhxj0CEHJpgqfbPnIy7 ++o7YbrirjwLRfQjhPt8c1tM1z5qDlWfcmPgS8O07XiL7gAfz6hxUaXud94lJ4bFD24e FlStLnWe56QfBrBfxHD8EXsPp1fHRHnvggr6qh44ExqfNxLHP89S6sxFkGpDk8JKfdvO JrTh00czhQe1A7cAhAUHLrk7f20iu+He/hpIbNRD4d61/iEIOmoOwzRNDpGHzqBv2RhW ++kg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go11si1578448plb.69.2018.09.21.10.27.13; Fri, 21 Sep 2018 10:27:28 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390960AbeIUXQY (ORCPT + 99 others); Fri, 21 Sep 2018 19:16:24 -0400 Received: from mga04.intel.com ([192.55.52.120]:9207 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390076AbeIUXQY (ORCPT ); Fri, 21 Sep 2018 19:16:24 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2018 10:26:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,285,1534834800"; d="scan'208";a="259221278" Received: from unknown (HELO 2b52.sc.intel.com) ([143.183.136.147]) by orsmga005.jf.intel.com with ESMTP; 21 Sep 2018 10:26:21 -0700 Message-ID: Subject: Re: [RFC PATCH v4 23/27] mm/map: Add Shadow stack pages to memory accounting From: Yu-cheng Yu To: Randy Dunlap , 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 , "Ravi V. Shankar" , Vedvyas Shanbhogue Date: Fri, 21 Sep 2018 10:21:50 -0700 In-Reply-To: <8c18fabf-170f-9010-3075-238e34c9f09b@infradead.org> References: <20180921150351.20898-1-yu-cheng.yu@intel.com> <20180921150351.20898-24-yu-cheng.yu@intel.com> <8c18fabf-170f-9010-3075-238e34c9f09b@infradead.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-09-21 at 09:55 -0700, Randy Dunlap wrote: > On 9/21/18 8:03 AM, Yu-cheng Yu wrote: > > Add shadow stack pages to memory accounting. > > Also check if the system has enough memory before enabling CET. > > > > Signed-off-by: Yu-cheng Yu > > oops. typo above. > I will fix it. Thanks!