Re: vm changes from linux-2.6.14 to linux-2.6.15
From: Mark Fortescue <hidden>
Date: 2007-05-01 13:58:07
Also in:
linux-mm, sparclinux
Attachments
- UpdateMMUCache.patch [text/plain] 10987 bytes · preview
From: Mark Fortescue <hidden>
Date: 2007-05-01 13:58:07
Also in:
linux-mm, sparclinux
On Tue, 1 May 2007, Benjamin Herrenschmidt wrote:
quoted
At present, update_mmu_cache() and lazy_mmu_prot_update() are always called when ptep_set_access_flags() is called so why not move them into ptep_set_access_flags() and change ptep_set_access_flags() to have an additional boolean parameter (__update) that would when set, cause update_mmu_cache() and lazy_mmu_prot_update() to be called.Well, ptep_set_access_flags() is a low level arch hook, I'd rather not start hiding update_mmu_cache() calls in it ... Ben.
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. Regards Mark Fortescue.