From owner-cvs-all Fri Apr 12 12:38:46 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9B92F37B404; Fri, 12 Apr 2002 12:38:41 -0700 (PDT) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3CJcfk69260; Fri, 12 Apr 2002 12:38:41 -0700 (PDT) (envelope-from tmm) Message-Id: <200204121938.g3CJcfk69260@freefall.freebsd.org> From: Thomas Moestl Date: Fri, 12 Apr 2002 12:38:41 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_pipe.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2002/04/12 12:38:41 PDT Modified files: sys/kern sys_pipe.c Log: Do not use pmap_kextract() to find out the physical address of a user belong to a user virtual address; while this happens to work on some architectures, it can't on sparc64, since user and kernel virtual address spaces overlap there (the distinction between them is done via separate address space identifiers). Instead, look up the page in the vm_map of the process in question. Reviewed by: jake Revision Changes Path 1.102 +17 -6 src/sys/kern/sys_pipe.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message