Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
Extending the use of RO and NX
Posted Jan 13, 2011 17:47 UTC (Thu) by nevets (subscriber, #11875)
1) (slower) method is to allocate a new page table entry that points to the same page but with write permission and make the modification via this new page table entrty.
2) (ftrace function tracer use) just before calling stop machine, all pages are converted back to RW, then stop machine is called and all changes are made, when stop machine finishes, the pages are put back to RO.
Posted Jan 13, 2011 22:46 UTC (Thu) by PaXTeam (subscriber, #24616)
they're also performed whenever all but one CPUs are offlined (SMP->UP) or when the second CPU comes online later (UP->SMP). this can be achieved by explicit action for a CPU (via /sys/devices/system/cpu/cpu*/online) or when suspend/reboot/halt occurs.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds