lkml.org 
[lkml]   [2012]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH mm RESEND] c/r: prctl: update prctl_set_mm_exe_file() after mm->num_exe_file_vmas removal
    On Sat, Apr 07, 2012 at 11:08:02PM +0400, Konstantin Khlebnikov wrote:
    > [ fix for "c-r-prctl-add-ability-to-set-new-mm_struct-exe_file-v2" from mm tree ]
    >
    > After removing mm->num_exe_file_vmas kernel keeps mm->exe_file until final mmput(),
    > it never becomes NULL while task is alive.
    >
    > We can check for other mapped files in mm instead of checking mm->num_exe_file_vmas,
    > and mark mm with flag MMF_EXE_FILE_CHANGED in order to forbid second changing of mm->exe_file.
    >
    > Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>

    Hi Konstantin, really sorry for delay. This should do trick for us.

    Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>


    \
     
     \ /
      Last update: 2012-04-11 01:03    [W:0.021 / U:31.520 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site