Subject: CVS commit: [vmlocking2] src/sys
To: None <source-changes@NetBSD.org>
From: Mindaugas Rasiukevicius <rmind@netbsd.org>
List: source-changes
Date: 12/05/2007 21:13:06
Module Name:	src
Committed By:	rmind
Date:		Wed Dec  5 21:13:06 UTC 2007

Modified Files:
	src/sys/kern [vmlocking2]: syscalls.master sysv_shm.c
	src/sys/sys [vmlocking2]: shm.h

Log Message:
- Make SysV shared memory subsystem MP-safe;
- Replace tsleep/wakeup with condvars;
- Replace malloc with kmem;
- Avoid holding of lock while reallocating;
- Fix the check of last segment when reallocating;
- sys_shmat: unmap if uvm_map_pageable() fails;
- Few cosmetics;

Proposed on <tech-kern>.


To generate a diff of this commit:
cvs rdiff -r1.180.2.2 -r1.180.2.3 src/sys/kern/syscalls.master
cvs rdiff -r1.100 -r1.100.16.1 src/sys/kern/sysv_shm.c
cvs rdiff -r1.42 -r1.42.34.1 src/sys/sys/shm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.