From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Date: Thu, 22 Jan 2004 01:52:50 +0000 Subject: Re: TLB miss handler code Message-Id: <20040121175250.78201627.davem@redhat.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org On Wed, 21 Jan 2004 18:14:05 -0500 (EST) Nawab Ali wrote: > Does it mean I'll have to muck around with the > arch/sparc64/kernel/{itlb,dtlb}_*.S files if I have to log(create a > tracefile) of all addresses that result in a TLB miss. That's exactly correct. In fact, you must not even change the number of instructions in these routines because they fit _PRECISELY_ into the sparc v9 trap table slots they are in. You would have to branch to some routine somewhere else in the kernel in order to add even one extra instruction of code.