From owner-freebsd-smp Sat Dec 14 13:43:25 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA16038 for smp-outgoing; Sat, 14 Dec 1996 13:43:25 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id NAA16024; Sat, 14 Dec 1996 13:43:21 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0vZ1r2-0003vlC; Sat, 14 Dec 96 13:42 PST Received: from critter.tfs.com (localhost.phk.dk [127.0.0.1]) by critter.tfs.com (8.8.2/8.8.2) with ESMTP id WAA08258; Sat, 14 Dec 1996 22:45:49 +0100 (MET) To: Terry Lambert cc: dyson@freebsd.org, peter@spinner.dialix.com, smp@freebsd.org, haertel@ichips.intel.com Subject: Re: some questions concerning TLB shootdowns in FreeBSD In-reply-to: Your message of "Sat, 14 Dec 1996 14:12:47 MST." <199612142112.OAA22198@phaeton.artisoft.com> Date: Sat, 14 Dec 1996 22:45:49 +0100 Message-ID: <8256.850599949@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199612142112.OAA22198@phaeton.artisoft.com>, Terry Lambert writes: >> The crucial thing, as far as I can see, is to find out >if< we need to >> tell the other CPU's about this change to the pagetables. For a 2cpu >> system the penalty of stopping the other CPU is still within bounds >> of the reasonable, but stopping three CPUs needlessly is not a good idea. >> >> Is there any cheap way to keep a refcount (or bitmap) per vm-object so >> we can see if we need to kick the other CPUs if we fiddle it ? > >Oh, I like this. > >It would make it very easy to have multiple references in the UP case, >as well as the MP case. > >This would let us do device/offset as well as vnode/offset based caching >(for instance, hanging all cache buffers for vnodes on a device off the >device vnode). > >I've wanted this for some time, since I am determined that vclean must >die... > Cool. send patches when done :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.