I have a question about how is possible to modify the Linux scheduler(Linux kernel in general) to specify resources (CPUs) to run an application, to be clear, I'm wondering is there any way (even not efficient and slow) to tell the kernel scheduler that executes the user part of the code on specific core and the kernel part on another one?
I know in terms of execution it may have no sense but in terms of debugging and studying specific subjects, it may help a lot.
I couldn't find any article, book, document about this, I appreciate it if refer me to some references too.