On Wednesday 18 August 2004 21:35, Mikael Levernes Valen-Sendstad wrote: > > Seems a little bit funny though to protect the vm with a spinlock and > a semaphore at the same time. Can/should I remove one of them? I believe they protect different things. > Do you mean that the code should be like this: [code deleted] Looks reasonable, but I am no mm expert. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/