From owner-freebsd-smp Sat Dec 14 02:46:24 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA21509 for smp-outgoing; Sat, 14 Dec 1996 02:46:24 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id CAA21504 for ; Sat, 14 Dec 1996 02:46:21 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id DAA14527; Sat, 14 Dec 1996 03:44:43 -0700 Message-Id: <199612141044.DAA14527@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: Erich Boleyn cc: Peter Wemm , haertel@ichips.intel.com, smp@freebsd.org Subject: Re: TLB shootdown problems? (was -> Re: Tried SMP kernel from early morning CVS tree ) In-reply-to: Your message of "Fri, 13 Dec 1996 23:40:27 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 14 Dec 1996 03:44:43 -0700 Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > Here's a question (I'm going to look this up myself, but thought it'd > be worthwhile to see if you'd shed light on it before I get to it on > my copious spare time ;-) ... > > How exactly are TLB shootdown IPIs implemented? (or are they any > different from any other IPIs?) > > >From what I could see, it looks like the IPI is considered "finished" > (and the function returns) when the APIC status is "delivered". This > could be a problem, because the interrupt doesn't necessarily happen > on the other CPU at that point (and it certainly isn't completed at > that point). You really need some other mechanism to tell you that > the operation has completed before you can continue. this is an accurate picture of the current situation. we just send it and "assumme" that things are now 'OK'. We know this isn't correct, its just step one on the way there. It made remarkable improvement on the P5 machines. So I guess the next step is a rendezvous mechanism to control this. If anyone could suggest an effective algorithm for it I could take a whack at programming it. -- Steve Passe | powered by smp@csn.net | FreeBSD