Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754231Ab1FIP44 (ORCPT ); Thu, 9 Jun 2011 11:56:56 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:58577 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753886Ab1FIP4w (ORCPT ); Thu, 9 Jun 2011 11:56:52 -0400 MIME-Version: 1.0 In-Reply-To: References: <4DEFD979.50405@tilera.com> <1307607243-5737-1-git-send-email-minipli@googlemail.com> <20110609104017.GW11521@ZenIV.linux.org.uk> From: Linus Torvalds Date: Thu, 9 Jun 2011 08:56:00 -0700 Message-ID: Subject: Re: [PATCH] init: use KERNEL_DS when trying to start init process To: Mathias Krause Cc: Al Viro , Chris Metcalf , "David S. Miller" , Chris Zankel , Andrew Morton , linux-kernel@vger.kernel.org, stable@kernel.org, Rusty Russell Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 17 On Thu, Jun 9, 2011 at 5:06 AM, Mathias Krause wrote: > > ...Albeit by looking closer at the implementation of flush_old_exec() > I think we should just move the set_fs() call there and remove it from > the architecture dependent implementations of flush_thread() and > start_thread(). Yeah, that sounds like the sane (and safe - it won't matter if there are some architectures that get overlooked and then have a duplicate set_fs() somewhere) approach. Linus -- 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/