Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 1996 15:45:28 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        toor@dyson.iquest.net (John S. Dyson)
Cc:        phk@critter.tfs.com, dyson@freebsd.org, peter@spinner.dialix.com, smp@freebsd.org, haertel@ichips.intel.com
Subject:   Re: some questions concerning TLB shootdowns in FreeBSD
Message-ID:  <199612142245.PAA22458@phaeton.artisoft.com>
In-Reply-To: <199612142222.RAA05499@dyson.iquest.net> from "John S. Dyson" at Dec 14, 96 05:22:22 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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 ?
>
> That would be tricky if we can freely reschedule processes on other
> cpu's...  It would entail traversing the map for the process when
> the process is scheduled.  Normally, there is also no notification
> when a page table entry is fetched into the TLB.  Such notification
> can be arranged on the advanced X86 processors, but it doesn't
> appear to be a guaranteed type thing.

You could simplify this a lot by preferential scheduling.

You could also keep a bitmap of the virtual address space and examine only
those areas where a bitmap collides...


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612142245.PAA22458>