Re: write-protecting a kernel page

From: Borislav Deianov (borislav@lix.polytechnique.fr)
Date: Fri Feb 11 2000 - 11:14:12 EST


On Fri, Feb 11, 2000 at 11:06:06AM +0100, Jes Sorensen wrote:
> >>>>> "Borislav" == Borislav Deianov <borislav@lix.polytechnique.fr> writes:
>
> Borislav> The problem is I can still write to the page after
> Borislav> that. What am I doing wrong? This is on a dual PIII machine,
> Borislav> btw.
>
> We use onr large tlb entry to map the entire kernel space, the
> disadvantage of this is of course that you can't mangle the pages
> individually.

Yes, that was the problem. The solution (suggested by Manfred Spraul)
was to disable code that checks cpu_has_pse, thus forcing the kernel
to use 4KB pte's.

Thanks to all who replied,

Borislav

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:20 EST