Hi, I have a data structure which is used in a kernel thread and in my ioctl function. I know for interrupts I need to use spin_lock_irqsave to disable interrupts but what about syscalls (ie. exceptions)? When the kernel thread accesses the data structure, should it also disable interrupts so that my user program doesnt send a syscall at that particular point in time? thanks -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/