From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753984AbbCBSeN (ORCPT ); Mon, 2 Mar 2015 13:34:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48320 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751526AbbCBSeL (ORCPT ); Mon, 2 Mar 2015 13:34:11 -0500 Date: Mon, 2 Mar 2015 19:32:10 +0100 From: Oleg Nesterov To: Tavis Ormandy , Borislav Petkov , Ingo Molnar Cc: Rik van Riel , Andy Lutomirski , Linus Torvalds , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] x86/fpu: minor cleanups Message-ID: <20150302183210.GA23085@redhat.com> References: <20150301184650.GA12758@redhat.com> <20150301185943.GA14318@redhat.com> <20150302174818.GA16886@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150302174818.GA16886@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add lkml/cc's. On 03/02, Oleg Nesterov wrote: > > Btw, why xstateregs_get/set() looks so confusing? The comment says > "Copy the 48bytes defined by the software first into the xstate" but the > code uses ->fxsave. Yes, this is the same memory, but still. I'll send > the cosmetic cleanup. > > Or fx_finit()... Again, memset(fx, 0, xstate_size) is correct but only > because of the current layout. I think this needs a cleanup too. Of course this is purely cosmetic, but still... Oleg.