Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752718Ab2BVXcM (ORCPT ); Wed, 22 Feb 2012 18:32:12 -0500 Received: from mail-wi0-f174.google.com ([209.85.212.174]:43881 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751207Ab2BVXcK (ORCPT ); Wed, 22 Feb 2012 18:32:10 -0500 MIME-Version: 1.0 In-Reply-To: References: <4F456D8F.1080801@zytor.com> From: Linus Torvalds Date: Wed, 22 Feb 2012 15:31:49 -0800 X-Google-Sender-Auth: vs-EWPm1XD3xPXpV_12PN7rtseA Message-ID: Subject: Re: [PATCH 0/5] i387: stable kernel backport To: "H. Peter Anvin" Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Raphael Prevost , Suresh Siddha , Linux Kernel Mailing List Content-Type: multipart/mixed; boundary=0016e6d9a290adb31604b995ef17 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 15383 Lines: 218 --0016e6d9a290adb31604b995ef17 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Feb 22, 2012 at 3:15 PM, Linus Torvalds wrote: > > Ok, I probably missed something when I skipped the patches that > weren't appropriate for backporting (like the whole FPU state preload > removal and rewriting). Ahh. Yes, I see what happened. The FPU preloading patches cleaned up __switch_to() to use the appropriate helpers to set TS_USEDFPU, but since I skipped them (because I felt they weren't appropriate for -stable), those cleanups got missed. So then the __math_state_restore() Only the last patch needs fixing, methinks. Updated version attached. Linus --0016e6d9a290adb31604b995ef17 Content-Type: text/x-patch; charset=US-ASCII; name="0005-i387-move-TS_USEDFPU-flag-from-thread_info-to-task_s.patch" Content-Disposition: attachment; filename="0005-i387-move-TS_USEDFPU-flag-from-thread_info-to-task_s.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gyyzz3s40 RnJvbSA5NTBlOTgyY2JmNjdkYjc1MjI3NTllNjMyMDNmNjQ3ODVjNTVhZ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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/