Re: [PATCH] Clean up x86 write-protect test

2000-10-14 Thread Brian Gerst
Linus Torvalds wrote: > > On Fri, 13 Oct 2000, Brian Gerst wrote: > > > > Also, Could somebody who has a machine with a known buggy processor give > > this patch a try? > > I like the patch. Would you mind re-writing the exception handling the > other way around, though: [snip] > which basical

Re: [PATCH] Clean up x86 write-protect test

2000-10-13 Thread Linus Torvalds
On Fri, 13 Oct 2000, Brian Gerst wrote: > > Also, Could somebody who has a machine with a known buggy processor give > this patch a try? I like the patch. Would you mind re-writing the exception handling the other way around, though: Instead of doing it like this: + __asm__ __volatile_

[PATCH] Clean up x86 write-protect test

2000-10-13 Thread Brian Gerst
This patch makes the write-protect test use the normal exception handling mechanism. This removes the need for the special case check in the page fault handler. The only concern I have is because of this comment: /* * Beware: Black magic here. The printk is needed here to flush * CPU state on