From owner-freebsd-smp Tue Apr 27 22:37: 4 1999 Delivered-To: freebsd-smp@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.40.153]) by hub.freebsd.org (Postfix) with ESMTP id 95DA014C3B; Tue, 27 Apr 1999 22:37:00 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by phk.freebsd.dk (8.9.1/8.8.8) with ESMTP id HAA25819; Wed, 28 Apr 1999 07:36:59 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.2/8.9.2) with ESMTP id HAA22150; Wed, 28 Apr 1999 07:36:48 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Luoqi Chen Cc: current@FreeBSD.ORG, smp@FreeBSD.ORG Subject: Re: HEADS UP! to commit SMP vmspace sharing patches In-reply-to: Your message of "Tue, 27 Apr 1999 19:49:44 EDT." <199904272349.TAA28969@lor.watermarkgroup.com> Date: Wed, 28 Apr 1999 07:36:48 +0200 Message-ID: <22148.925277808@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199904272349.TAA28969@lor.watermarkgroup.com>, Luoqi Chen writes: >I'm about to commit the SMP vmspace sharing patch (the %fs approach). All >kernel modules will need to be recompiled. Recompilation is not neccessary >for user land applications including ps, libkvm and friends. > >In this %fs approach, per-processor private pages are no longer mapped at >identical virtual address for each cpu, instead a new segment descriptor (%fs) >is setup to access per-cpu global variables like curproc. How is this accessed from C sources ? -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message