Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753070AbcD2UZc (ORCPT ); Fri, 29 Apr 2016 16:25:32 -0400 Received: from mail-ob0-f174.google.com ([209.85.214.174]:35294 "EHLO mail-ob0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbcD2UZa (ORCPT ); Fri, 29 Apr 2016 16:25:30 -0400 MIME-Version: 1.0 In-Reply-To: <20160429200709.GA15412@test-lenovo> References: <5723A353.7060209@linux.intel.com> <20160429195741.GA15402@test-lenovo> <5723BE1F.7040300@linux.intel.com> <20160429200709.GA15412@test-lenovo> From: Andy Lutomirski Date: Fri, 29 Apr 2016 13:25:04 -0700 Message-ID: Subject: Re: [PATCH v4 0/10] x86/xsaves: Fix XSAVES known issues To: Yu-cheng Yu Cc: Dave Hansen , X86 ML , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , "linux-kernel@vger.kernel.org" , Andy Lutomirski , Borislav Petkov , Sai Praneeth Prakhya , "Ravi V. Shankar" , Fenghua Yu Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 600 Lines: 13 On Fri, Apr 29, 2016 at 1:07 PM, Yu-cheng Yu wrote: > On Fri, Apr 29, 2016 at 01:03:43PM -0700, Dave Hansen wrote: >> That's not feasible. Think of dynamic libraries or just-in-time >> compilers. What instruction set does /usr/bin/java use, for instance? :) > > The java argument is true. In that case or when the bitmask is missing, we can allocate for all supported features. > I actually want to see us moving in the direction of unconditionally allocating everything on process startup. If we can stop using CR0.TS entirely, I think everything will be better. --Andy