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




To: source-changes-d%NetBSD.org@localhost

Subject: Re: CVS commit: src/sys/fs/puffs

From: Jukka Ruohonen <jruohonen%iki.fi@localhost>

Date: Tue, 18 Oct 2011 18:44:27 +0300


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.


Follow-Ups:

Re: CVS commit: src/sys/fs/puffs
From: Emmanuel Dreyfus




Prev by Date: Re: CVS commit: src/sys/arch/x86/x86

Next by Date: Re: CVS commit: src/sys/arch/x86/x86

Previous by Thread: Re: CVS commit: src/share/man/man4/man4.x86

Next by Thread: Re: CVS commit: src/sys/fs/puffs

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index