Subject: CVS commit: [vmlocking] src/sys/fs/tmpfs
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 09/18/2007 16:05:29
Module Name: src
Committed By: ad
Date: Tue Sep 18 16:05:29 UTC 2007
Modified Files:
src/sys/fs/tmpfs [vmlocking]: tmpfs_pool.c
Log Message:
tmpfs_pool_page_alloc:
- If we can't allocate a page, just return NULL instead of panicing.
- Specify PR_NOWAIT to the back-end allocator. This is a bit risky since
we are relying on the results of a stale check that there is free memory,
but for now it's better than failing allocations because another thread
has kernel_map locked.
To generate a diff of this commit:
cvs rdiff -r1.6.8.2 -r1.6.8.3 src/sys/fs/tmpfs/tmpfs_pool.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.