lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080916071847.4a6ed31c@infradead.org>
Date:	Tue, 16 Sep 2008 07:18:47 -0700
From:	Arjan van de Ven <arjan@...radead.org>
To:	"Xu Yang" <risingsunxy@...glemail.com>
Cc:	"Bernd Petrovitsch" <bernd@...mix.at>, linux-kernel@...r.kernel.org
Subject: Re: looking for a function

On Tue, 16 Sep 2008 16:11:10 +0200
"Xu Yang" <risingsunxy@...glemail.com> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ