[lkml]   [2009]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCH 0/4]: affinity-on-next-touch
    Stefan Lankes wrote:
    > He enables the support of migration-on-fault via cpusets (echo 1 >
    > /dev/cpuset/migrate_on_fault).
    > Afterwards, every process could initiate migration-on-fault via mbind(...,

    So mbind(MPOL_MF_LAZY) is taking care of changing page protection so as
    to generate page-faults on next-touch? (instead of your madvise)
    Is it migrating the whole memory area? Or only single pages?

    Then, what's happening with MPOL_MF_LAZY in the kernel? Is it actually
    stored in the mempolicy? If so, couldn't another fault later cause
    another migration?
    Or is MPOL_MF_LAZY filtered out of the policy once the protection of all
    PTE has been changed?
    I don't see why we need a new mempolicy here. If we are migrating single
    pages, migrate-on-next-touch looks like a page-attribute to me. There
    should be nothing to store in a mempolicy/VMA/whatever.


     \ /
      Last update: 2009-06-12 14:43    [W:0.018 / U:166.008 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site