Date: Sun, 15 Dec 1996 18:03:16 +0800 From: Peter Wemm <peter@spinner.dialix.com> To: Poul-Henning Kamp <phk@critter.tfs.com> Cc: dyson@freebsd.org, smp@freebsd.org, haertel@ichips.intel.com Subject: Re: some questions concerning TLB shootdowns in FreeBSD Message-ID: <199612151003.SAA14741@spinner.DIALix.COM> In-Reply-To: Your message of "Sun, 15 Dec 1996 10:13:27 %2B0100." <9092.850641207@critter.tfs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote: > In message <199612150121.JAA12763@spinner.DIALix.COM>, Peter Wemm writes: > > >However, the shared address space code that I was working on in > >-current (for kernel assisted threading in the smp kernel) means > >that a single vmspace/pmap/etc can be shared among multiple processes > >and this changes the above picture since two cpu's can be using > >the user mode parts of the same page tables at once, one in executing > >in user mode, one in the kernel. > > But we could still have a per-cpu flags: > "I'm not in a shared address-space" > > Ie, this would only be set if the CPU was in userland in a non-threaded > process. eg, something like: if (is_userland && curproc->p_vmspace->vm_refcnt > 1) send_tlb_invalidate(); Cheers, -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612151003.SAA14741>