How to run kernel functions in a separate core?

Hello Friends,
I am using Ubundu.

I want to know how to run kernel functions in a separate core?

I know about Taskset and it supports only for the application.

Do anybody know any command (or) have any idea about how to do it?

Please help me

Thank you

What are you trying to accomplish?

Regards,
Alister

Want to run specific kernel functions in a separate core.
Do you have any idea about how to do it?

Thank you

Yes we do know what you mean. But it is not what you can do. You cannot run kernel mode code as a standalone without a lot of the rest of the kernel code. You can call syscalls directly.

You can also create a module that you load into the kernel which will call specific kernel code. You can then give it a specific entry point (aka syscall)

What exactly do you mean? If you would condescend to tell us what modules you are trying to run it would make life simpler. Because the way you are asking this question says to us that you do not understand some basic things. It is like asking how do I get good mileage in a car when the brakes are locked on.

The question makes little sense as asked. Period. If you can't give us a good explanation, please try another forum where there are mind readers who are good unix programmers as well.

Thanks.