Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754348Ab2EKASQ (ORCPT ); Thu, 10 May 2012 20:18:16 -0400 Received: from gate.crashing.org ([63.228.1.57]:56607 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753498Ab2EKASP (ORCPT ); Thu, 10 May 2012 20:18:15 -0400 Message-ID: <1336695464.3881.71.camel@pasglop> Subject: Re: [PATCH v2 1/4] fork: move the real prepare_to_copy() users to arch_dup_task_struct() From: Benjamin Herrenschmidt To: Suresh Siddha Cc: torvalds@linux-foundation.org, hpa@zytor.com, mingo@elte.hu, oleg@redhat.com, linux-kernel@vger.kernel.org, suresh@aristanetworks.com, David Howells , Koichi Yasutake , Paul Mackerras , Paul Mundt , Chris Zankel Date: Fri, 11 May 2012 10:17:44 +1000 In-Reply-To: <1336692811-30576-1-git-send-email-suresh.b.siddha@intel.com> References: <1336692811-30576-1-git-send-email-suresh.b.siddha@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 925 Lines: 27 On Thu, 2012-05-10 at 16:33 -0700, Suresh Siddha wrote: > Historical prepare_to_copy() is mostly a no-op, duplicated for majority of > the architectures and the rest following the x86 model of flushing the extended > register state like fpu there. > > Remove it and use the arch_dup_task_struct() instead. > > Suggested-by: Oleg Nesterov > Suggested-by: Linus Torvalds > Signed-off-by: Suresh Siddha > Cc: David Howells > Cc: Koichi Yasutake For the powerpc part: Acked-by: Benjamin Herrenschmidt Cheers, Ben. -- 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/