From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Date: Fri, 29 Jul 2005 10:52:11 +0000 Subject: Re: Add prefetch switch stack hook in scheduler function Message-Id: <20050729105211.GA23355@elte.hu> List-Id: References: <20050728090948.GA24222@elte.hu> <200507281914.j6SJErg31398@unix-os.sc.intel.com> <20050729070447.GA3032@elte.hu> <20050729070702.GA3327@elte.hu> <1122628675.14892.9.camel@twins> In-Reply-To: <1122628675.14892.9.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Peter Zijlstra Cc: "Chen, Kenneth W" , Keith Owens , David.Mosberger@acm.org, Andrew Morton , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org * Peter Zijlstra wrote: > code like that always makes me think of duffs-device > http://www.lysator.liu.se/c/duffs-device.html > > although it might be that the compiler generates better code from the > current incarnation; just my .02 ;-) yeah, will do that. First wanted to see whether it's worth it. Ingo From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262577AbVG2KxA (ORCPT ); Fri, 29 Jul 2005 06:53:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262579AbVG2Kw7 (ORCPT ); Fri, 29 Jul 2005 06:52:59 -0400 Received: from mx2.elte.hu ([157.181.151.9]:43984 "EHLO mx2.elte.hu") by vger.kernel.org with ESMTP id S262573AbVG2Kwq (ORCPT ); Fri, 29 Jul 2005 06:52:46 -0400 Date: Fri, 29 Jul 2005 12:52:11 +0200 From: Ingo Molnar To: Peter Zijlstra Cc: "Chen, Kenneth W" , Keith Owens , David.Mosberger@acm.org, Andrew Morton , linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org Subject: Re: Add prefetch switch stack hook in scheduler function Message-ID: <20050729105211.GA23355@elte.hu> References: <20050728090948.GA24222@elte.hu> <200507281914.j6SJErg31398@unix-os.sc.intel.com> <20050729070447.GA3032@elte.hu> <20050729070702.GA3327@elte.hu> <1122628675.14892.9.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1122628675.14892.9.camel@twins> User-Agent: Mutt/1.4.2.1i X-ELTE-SpamVersion: MailScanner 4.31.6-itk1 (ELTE 1.2) SpamAssassin 2.63 ClamAV 0.73 X-ELTE-VirusStatus: clean X-ELTE-SpamCheck: no X-ELTE-SpamCheck-Details: score=-4.9, required 5.9, autolearn=not spam, BAYES_00 -4.90 X-ELTE-SpamLevel: X-ELTE-SpamScore: -4 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > code like that always makes me think of duffs-device > http://www.lysator.liu.se/c/duffs-device.html > > although it might be that the compiler generates better code from the > current incarnation; just my .02 ;-) yeah, will do that. First wanted to see whether it's worth it. Ingo