Hi, Has someone a clue how to check the DPL of the TSS of the task that is currently running? The reason why I am writing is the following one: On every interrupt I have to check if current task is a kernel thread or a user process. Normally I could use '(current->mm==NULL)' to identify kernel threads - because kernel threads don't have own memory descriptors - but in my case I can't. Checking the DPL would be one way to find out what I need to know, but how can I do that? Are there functions or macros already existing ...and ready to use? Thanks in advance for any ideas Thomas -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/