lkml.org 
[lkml]   [2015]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH 08/12] mm: use mirrorable to switch allocate mirrored memory
    On 06/04/2015 06:02 AM, Xishi Qiu wrote:
    > Add a new interface in path /proc/sys/vm/mirrorable. When set to 1, it means
    > we should allocate mirrored memory for both user and kernel processes.

    That's a pretty dangerously short name. :)

    How would this end up getting used? It seems like it would be dangerous
    to use once userspace was very far along. So would the kernel set it to
    1 and then let (early??) userspace set it back to 0? That would let
    important userspace like /bin/init get mirrored memory without having to
    actually change much in userspace.

    This definitely needs some good documentation.

    Also, if it's insane to turn it back *on*, maybe it should be a one-way
    trip to turn off.


    \
     
     \ /
      Last update: 2015-06-04 21:01    [W:3.220 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site