Hi, On Thu, 2002-12-12 at 09:29, Ingo Oeser wrote: > set_page_dirty() can be used in all cases, IMHO, since it: > - will not sleep ... Unfortunately, it can take both the inode_lock and pagecache_lock spinlocks, so if you use it in the wrong place, with other locks already held, you can cause a deadlock. So you _do_ need to be a bit careful, and you can't just use it with abandon. Cheers, Stephen -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/