From owner-freebsd-current Wed Apr 28 11: 0:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.40.153]) by hub.freebsd.org (Postfix) with ESMTP id 0A5C914D80; Wed, 28 Apr 1999 11:00:41 -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 UAA28701; Wed, 28 Apr 1999 20:00:40 +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 UAA24331; Wed, 28 Apr 1999 20:00:26 +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 "Wed, 28 Apr 1999 12:25:28 EDT." <199904281625.MAA05043@lor.watermarkgroup.com> Date: Wed, 28 Apr 1999 20:00:26 +0200 Message-ID: <24329.925322426@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199904281625.MAA05043@lor.watermarkgroup.com>, Luoqi Chen writes: >> >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 ? >> >curproc is now a macro defined as an inline asm function. Not that I really miss far pointers, but right now we could use one... -- 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-current" in the body of the message