Why not copy around data in physical RAM?
Posted Sep 9, 2004 10:27 UTC (Thu) by
scarabaeus (subscriber, #7142)
Parent article:
Kswapd and high-order allocations
If a request for a contiguous memory area fails, why cannot the kernel copy physical memory around while leaving the virtual addresses unchanged? I.e. if physical page n is free, n+1 is not, but m is, and we want two consecutive pages, copy the content of n+1 to m and update the page table accordingly. I'm not a kernel hacker, but my impression was that the reverse-mapping code enables you to do that.
(
Log in to post comments)