Hi, Le Tue, 23 Jan 2007 16:16:20 +0530, "Daniel Rodrick" <daniel.rodrick@xxxxxxxxx> a écrit : > 2) In the case it is true, how are situations like this handled : an > ISR tries to use a data item that has been swapped out? The kernel code is always resident in memory, as is all the memory allocated by the kernel. It cannot be swapped out. The memory that can be swapped out is only the one allocated for user applications. And when the kernel wants to copy from/to the user part of an address space, it must use the copy_from_user() / copy_to_user() that handle specifically the page fault case. Sincerly, Thomas -- Thomas Petazzoni - thomas.petazzoni@xxxxxxxx http://{thomas,sos,kos}.enix.org - http://www.toulibre.org http://www.{livret,agenda}dulibre.org -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/