From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763158AbbA3VhG (ORCPT ); Fri, 30 Jan 2015 16:37:06 -0500 Received: from www.sr71.net ([198.145.64.142]:42542 "EHLO blackbird.sr71.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763055AbbA3VhE (ORCPT ); Fri, 30 Jan 2015 16:37:04 -0500 Message-ID: <54CBF97D.902@sr71.net> Date: Fri, 30 Jan 2015 13:37:01 -0800 From: Dave Hansen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Oleg Nesterov CC: dave.hansen@linux.intel.com, riel@redhat.com, sbsiddha@gmail.com, luto@amacapital.net, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, fenghua.yu@intel.com, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH 2/2] x86, mpx: use new tsk_get_xsave_addr() References: <20150130174309.D666B2A7@viggo.jf.intel.com> <20150130174311.22AC8AE1@viggo.jf.intel.com> <20150130183426.GA20505@redhat.com> In-Reply-To: <20150130183426.GA20505@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/30/2015 10:34 AM, Oleg Nesterov wrote: > On 01/30, Dave Hansen wrote: >> > The new >> > tsk_get_xsave_addr() calls unlazy_fpu() instead and properly >> > disables preemption. > And it seems it becomes the only caller of get_xsave_addr(), so you > can unexport and make it static. They're pretty new functions, and I _think_ Fenghua intended for them to get used my more users down the line.