Re: How to write a kernel patch to expose a kernel-level function?
- From: hzmonte@xxxxxxxxxxx
- Date: 31 Jan 2006 00:03:38 -0800
>Why? Of what possible use could that information be? What problem are you
>trying to solve?
>A different story is that the result is probably invalid at the time your user code gets it. There
>is no guarantee that the process is running on the reported processor anymore.
I am trying to make sure sched_setaffinity() works. That system call
allows you to restrict the execution of the calling thread on a (set
of) particular logical processor(s). So, after I call
sched_setaffinity(), I want to call smp_processor_id() to see if the
thread is indeed executing on a processor selected.
.
- Follow-Ups:
- Re: How to write a kernel patch to expose a kernel-level function?
- From: Jean-David Beyer
- Re: How to write a kernel patch to expose a kernel-level function?
- References:
- How to write a kernel patch to expose a kernel-level function?
- From: hzmonte
- Re: How to write a kernel patch to expose a kernel-level function?
- From: Tauno Voipio
- Re: How to write a kernel patch to expose a kernel-level function?
- From: hzmonte
- Re: How to write a kernel patch to expose a kernel-level function?
- From: Tauno Voipio
- How to write a kernel patch to expose a kernel-level function?
- Prev by Date: Re: How to write a kernel patch to expose a kernel-level function?
- Next by Date: Re: converting Msaccess db to MySQL db
- Previous by thread: Re: How to write a kernel patch to expose a kernel-level function?
- Next by thread: Re: How to write a kernel patch to expose a kernel-level function?
- Index(es):
Relevant Pages
|