Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/fs/puffs
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.
Home |
Main Index |
Thread Index |
Old Index