[lkml]   [2009]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Define a UNIQUE value for AS_UNEVICTABLE flag
    (cc to Avi)

    >> [PATCH] Define UNIQUE value of AS_UNEVICTABLE
    >> Needed in 2.6.28, 2.6.29, ...
    >> A new "address_space flag"--AS_MM_ALL_LOCKS--was defined to use the next
    >> available AS flag while the Unevictable LRU was under development.  The
    >> Unevictable LRU was using the same flag and "no one" noticed.  Current
    >> mainline, since 2.6.28, has same value for two symbolic flag names.
    > argh.
    > What are the user-observable effects of the bug, and why didn't anyone
    > notice it until now?

    AS_MM_ALL_LOCKS is used by mmu_notifier. it mean it is used by only kvm.
    In the other hand, AS_UNEVICTABLE mean unevictable shmem or ramfs.

    Then, if shmem opend process use ioctl(KVM_CREATE_VM), unevictable
    flag on the shmem accidentally turn off.
    but, fortunatelly, In modern desktop environment, only KVM control
    program use above ioctl. then, we can assume this doesn't use shmem
    and ramfs.

    Am I missing anything?
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-04-02 20:05    [W:0.087 / U:34.244 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site