Subject: Re: kern/34010: undefined reference to `uvm_mremap' in LKM
To: None <,,>
From: YAMAMOTO Takashi <>
List: netbsd-bugs
Date: 07/16/2006 06:55:02
The following reply was made to PR kern/34010; it has been noted by GNATS.

From: YAMAMOTO Takashi <>
Subject: Re: kern/34010: undefined reference to `uvm_mremap' in LKM
Date: Sun, 16 Jul 2006 15:52:26 +0900

 > -file	uvm/uvm_mremap.c		compat_linux
 > +file	uvm/uvm_mremap.c
 i'd like to explain the intent of the current code
 so that an lkm/configure guru can decide what would be a good fix.
 - its primary purpose is a backend of linux mremap system call.
 - however, what uvm_mremap.c implements is more than linux mremap.
   eg. it's intended to support inter-vm_map move.
 - i made it compat_linux dependent because no one else uses it currently.
 - otoh, i put it in uvm/ because its functionality can be useful for others.
   (and i was thinking about introducing netbsd-native version of
   the system call.  it makes significant performance difference for
   some applications, especially for ones written for linux. :-)