When a task execute a system-call, it runs in kernelmode and later resume in usermode. Which field of task_struct tells whether a task is currently running kernelmode or usermode ?
When a task execute a system-call, it runs in kernelmode and later resume in usermode. Which field of task_struct tells whether a task is currently running kernelmode or usermode ?