Re: [PATCH] paravirt.h

From: Alan Cox
Date: Tue Aug 22 2006 - 11:35:21 EST


Ar Maw, 2006-08-22 am 07:59 -0700, ysgrifennodd Jeremy Fitzhardinge:
> out, nothing is actually read-only in the kernel when using a 2M
> mapping. It's also ameliorated by the fact that some of the entrypoints

Thats a loader problem. It ties directly in with things like relocatable
kernels. Arjan has been systematically working to get us "const" objects
and that needs to continue, and the more we can enforce it the more
security we get and the more bugs we catch.

It's also a mistake to assume the read-only doesn't help. Your 2MB
sections penalty isnt true in a virtualised environment.

Alan

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