From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Mosberger Date: Fri, 22 Feb 2002 18:45:51 +0000 Subject: Re: [Linux-ia64] determining read or write on a page fault Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org >>>>> On Fri, 22 Feb 2002 10:29:16 -0700, n0ano@indstorage.com said: Don> Jay- Check out the unaligned fault handler in Don> `arch/ia64/kernel/unaligned.c' That code should show you what Don> you need to do. The code in unaligned.c is far more complicated than what Jay would need. It'll take a few minutes of staring at the instruction encoding sections of the ia64 manual to figure out the most effective way for doing this, but just narrowing an instruction down to something that may do a store should be fairly easy (verify that the slot is an M slot, look at the most signicant bits of the instruction, ...). Don't forget about the semaphore instructions though! --david