From owner-freebsd-hackers Sat Feb 22 23:38:46 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF63137B401 for ; Sat, 22 Feb 2003 23:38:45 -0800 (PST) Received: from shell.postech.ac.kr (shell.postech.ac.kr [141.223.6.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99D4143F85 for ; Sat, 22 Feb 2003 23:38:44 -0800 (PST) (envelope-from octphial@shell.postech.ac.kr) Received: (from octphial@localhost) by shell.postech.ac.kr (8.9.3/8.9.3) id QAA19433 for freebsd-hackers@freebsd.org; Sun, 23 Feb 2003 16:37:47 +0900 (KST) Date: Sun, 23 Feb 2003 16:37:46 +0900 From: Byunghyun Oh To: freebsd-hackers@freebsd.org Subject: Replacement for get_user_pages() of Linux Message-ID: <20030223163746.A19421@shell.postech.ac.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. :) Byunghyun Oh octphial _at_ postech.ac.kr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message