Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753971AbbGWQBh (ORCPT ); Thu, 23 Jul 2015 12:01:37 -0400 Received: from smtprelay0069.hostedemail.com ([216.40.44.69]:59635 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752437AbbGWQB3 (ORCPT ); Thu, 23 Jul 2015 12:01:29 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3872:3873:3874:4250:4321:5007:6119:6261:7808:7875:7903:10004:10400:10848:10967:11232:11658:11914:12517:12519:12663:12740:13069:13161:13229:13255:13311:13357:14096:14097:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: paint09_29ce8c7506255 X-Filterd-Recvd-Size: 1908 Date: Thu, 23 Jul 2015 12:01:25 -0400 From: Steven Rostedt To: Andy Lutomirski Cc: X86 ML , linux-kernel@vger.kernel.org, Willy Tarreau , Borislav Petkov , Thomas Gleixner , Peter Zijlstra , Linus Torvalds Subject: Re: [PATCH 2/5] x86/entry/64, entry: Set up a valid sysenter stack and prepare for 32-bit merge Message-ID: <20150723120125.7c6d74d3@gandalf.local.home> In-Reply-To: <1287f683e32f1bbe7fc545bff675f30dcda8d5c1.1437665045.git.luto@kernel.org> References: <1287f683e32f1bbe7fc545bff675f30dcda8d5c1.1437665045.git.luto@kernel.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 26 On Thu, 23 Jul 2015 08:31:40 -0700 Andy Lutomirski wrote: > Oddly, 64-bit kernels already allocate a percpu sysenter stack, but > they don't enable it. Enable the stack and tweak the rest of the > sysenter setup code to be similar to the 32-bit version. I'm curious. Did you do any investigation into the 64bit code to why it wasn't set? Do you know if that was just overlooked with some of the merging between i386 and x86_64 systems? I'm not asking you to do it if you have not, but if you have, I think it would be more comforting to know that it was just overlooked than there being some other subtle reason. -- Steve > > This eliminates the only place in the kernel in which TF could be set > without a valid stack. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/