From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755174AbYIPOch (ORCPT ); Tue, 16 Sep 2008 10:32:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752234AbYIPOc3 (ORCPT ); Tue, 16 Sep 2008 10:32:29 -0400 Received: from rn-out-0910.google.com ([64.233.170.184]:5083 "EHLO rn-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751814AbYIPOc2 (ORCPT ); Tue, 16 Sep 2008 10:32:28 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=o6BUW5aM1O8HDATcO7bZi0eqM6v1jDj7J0mj/Qyxc1yTZWQaKaS3PfiyZbB7rXoXrt B7JQiB3GEfIzLNSztXSvYbQuUrfLTpNYIeuGhbSeUaq2Q0vCYGg7zMnyfyypuWw7P4qj 4JkZMF8dpbGJeDZkMpLtsbeMoXdhJekfN0iPQ= Message-ID: Date: Tue, 16 Sep 2008 16:32:27 +0200 From: "Xu Yang" To: "Arjan van de Ven" Subject: Re: looking for a function Cc: "Bernd Petrovitsch" , linux-kernel@vger.kernel.org In-Reply-To: <20080916071847.4a6ed31c@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1221573632.6103.83.camel@spike.firmix.at> <20080916071847.4a6ed31c@infradead.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arjan, thanks, I will try that! Best regards, Yang 2008/9/16, Arjan van de Ven : > On Tue, 16 Sep 2008 16:11:10 +0200 > "Xu Yang" wrote: > > > Hi Bernd, > > > > thanks for you reply. > > > > yes, I know the thread migrates all the time, this is exactly what I > > would like to observe. I would like to learn about the thread > > migration of some specific scheduling algorithm. so .... > > > > any idea about the function? > > the getcpu() system call will do what you want. > > > > -- > Arjan van de Ven Intel Open Source Technology Centre > For development, discussion and tips for power savings, > visit http://www.lesswatts.org >