On Wed, 2 May 2007, Benjamin Herrenschmidt wrote: > >> I have attached a patch (so pine does not mangle it) for linux-2.6.20.9. >> Is this what you had in mind? >> >> For linux-2.6.21, more work will be needed as it has more code calling >> ptep_set_access_flags. > > I'm not 100% sure we need the 'update' argument... we can remove the > whole old_entry, pte_same, etc... and just have pte_set_access_flags() > read the old PTE and decide wether something needs to be changed or not. > > Ben. > > The attached patch works on sun4c (with my simple ADA compile test) but the change in functionality may break things other platforms. The advantage of the previous patch is that the functionality is only changed for sparc sun4c so less testing would be required. Regards Mark Fortescue.