From owner-freebsd-smp Wed Jul 16 22:31:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA05017 for smp-outgoing; Wed, 16 Jul 1997 22:31:01 -0700 (PDT) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id WAA05011; Wed, 16 Jul 1997 22:30:57 -0700 (PDT) Received: from rover.village.org [127.0.0.1] by rover.village.org with esmtp (Exim 1.60 #1) id 0woj9G-0003RJ-00; Wed, 16 Jul 1997 23:30:42 -0600 To: dg@root.com Subject: Re: self modifying kernel code Cc: Steve Passe , smp@freebsd.org, current@freebsd.org In-reply-to: Your message of "Wed, 16 Jul 1997 17:40:42 PDT." <199707170040.RAA04953@implode.root.com> References: <199707170040.RAA04953@implode.root.com> Date: Wed, 16 Jul 1997 23:30:42 -0600 From: Warner Losh Message-Id: Sender: owner-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199707170040.RAA04953@implode.root.com> David Greenman writes: : I'd say that you'd get less resistence to it, but then at boot time there : are probably other cleaner, slower, ways of accomplishing the same thing. I know that the MIPS based OSes generally bcopy a routine into the trap handler location based on what architecture it is running (MIPS I or MIPS III) on. The MIPS hardware wants this trap routine to be of a certain size at a fixed location. Since this is for TLB handling, and there are a limited number of TLB slots, this routine generally is as hand tweaked as you can get. Warner