Subject: kern/34837: SysV SHM dynamic reallocation and locking to the physical memory
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <unex@linija.org>
List: netbsd-bugs
Date: 10/16/2006 21:35:00
>Number:         34837
>Category:       kern
>Synopsis:       SysV SHM dynamic reallocation and locking to the physical memory
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 16 21:35:00 +0000 2006
>Originator:     Mindaugas <unex at linija org>
>Release:        NetBSD 3.0_STABLE
>Organization:
	
>Environment:
System: NetBSD linija.org 3.0_STABLE
Architecture: i386
Machine: i386
>Description:
SysV SHM dynamic reallocation and locking to the physical memory
implementation. Made various tests, seems working well.

This patch is related with the kern/34771 PR, which is commited, so it is
needed to uncomment the line with uvm_object.c in src/sys/uvm/files.uvm .

An attached (in reply email) source and patch is for -current tree.
Please commit.

In my opinion, this code is not so complex and safe in stability case to be
pulled up into the the netbsd-4 (or even netbsd-3 after 3.1 release?) branch.
But of course it is a consideration of Releng.

Discussed here:
http://mail-index.netbsd.org/tech-kern/2006/09/24/0000.html

>How-To-Repeat:

>Fix: