On Tue, Oct 18, 2011 at 03:39:10PM +0000, Emmanuel Dreyfus wrote: > Module Name: src > Committed By: manu > Date: Tue Oct 18 15:39:09 UTC 2011 > > Modified Files: > src/sys/fs/puffs: puffs_msgif.c puffs_node.c puffs_vfsops.c > puffs_vnops.c > > Log Message: > Make sure pagedaemon does not sleep for memory in puffs_vnop_sleep. > Add KASSERT on any sleeping memory allocation to check it cannot happen again.
+#ifdef DIAGNOSTIC + KASSERT(curlwp != uvm.pagedaemon_lwp); +#endif Why pollute code with redundant #ifdefs? - Jukka.