sön 2013-07-28 klockan 07:02 +0300 skrev Stefan Kristiansson: > The biggest difference is that the arch spec defines a seperate register > (xMMUPR) which holds a table of protection bits, and the PP INDEX field > of the pte is used to pick out the "right" protection flags from that. > In our Linux port on the other hand, it has been chosen to not follow > this and embed the protection bits straight into the pte (which of > course is perfectly fine as it was designed for software tlb reload). > So, the question is, should we change Linux to be compliant with the > arch specs definition of the ptes and start using a PP index field or > change the arch spec to allow usages of the Linux definition?
Is there any pros/cons for the different approaches? What approach do other architectures use? Regards Henrik _______________________________________________ Linux mailing list Linux@lists.openrisc.net http://lists.openrisc.net/listinfo/linux