Re: [PATCH/RFC] AutoPage Migration - V0.1 - 0/8 Overview

Avi Kivity
2006-03-15T16:05:56Z

Christoph Lameter wrote:

>cpusets uses _MOVE_ALL because Paul wanted it that way. I still think it
>is a bad idea to move shared libraries etc. _MOVE only moves the pages used
>by the currently executing process. If you do a MOVE_ALL then you may
>cause delays in other processes because they have to wait for their pages
>to become available again. Also they may have to generate additional
>faults to restore their PTEs. So you are negatively impacting other
>processes. Note that these wait times can be extensive if _MOVE_ALL is
>f.e. just migrating a critical glibc page that all processes use.
>
>
Doesn't it make sense to duplicate heavily accessed shared read-only pages?

Something like page migration, but keeping the original page intact.
Unfortunately, for threaded applications, it means page table bases
(cr3) can't be shared among threads.

--
error compiling committee.c: too many arguments to function