Date: Mon, 24 Feb 2003 02:03:46 -0800 From: David Schultz <das@FreeBSD.ORG> To: Byunghyun Oh <octphial@postech.ac.kr> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Replacement for get_user_pages() of Linux Message-ID: <20030224100346.GA6374@HAL9000.homeunix.com> In-Reply-To: <20030223163746.A19421@shell.postech.ac.kr> References: <20030223163746.A19421@shell.postech.ac.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Byunghyun Oh <octphial@postech.ac.kr>: > I'm porting Plex86 x86 VM, which uses get_user_pages() function at > Linux-version kernel module to find and pin physical pages of memory > in user space (according to its documentation). I tried many > candidates as its replacement (PHYS_TO_VM_PAGE() macro in vm/vm_page.h > seems most useful now), but they haven't worked at all. > > Any experience about porting VM-related things in Linux will be > appreciated. :) Glancing at the Linux source, it looks like you want vm_map_wire(). BTW, in the future, it helps if you can describe what you're looking for, since we're not all Linux experts. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030224100346.GA6374>