Hi all,
I am writing a kernel module that creates a kernel thread on a SMP
platform.
How to get the ID of the processor the kernel thread run on? Have any
kernel API? THX
Raymond
> I am writing a kernel module that creates a kernel thread on a SMP
>platform.
>How to get the ID of the processor the kernel thread run on? Have any
>kernel API? THX
>Raymond
try smp_processor_id() it returns an unsigned int.
Thanks,
jerry