lkml.org 
[lkml]   [2016]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 10/18] vdso: make arch_setup_additional_pages wait for mmap_sem for write killable
    On Mon, Feb 29, 2016 at 5:26 AM, Michal Hocko <mhocko@kernel.org> wrote:
    > From: Michal Hocko <mhocko@suse.com>
    >
    > most architectures are relying on mmap_sem for write in their
    > arch_setup_additional_pages. If the waiting task gets killed by the oom
    > killer it would block oom_reaper from asynchronous address space reclaim
    > and reduce the chances of timely OOM resolving. Wait for the lock in
    > the killable mode and return with EINTR if the task got killed while
    > waiting.

    Acked-by: Andy Lutomirski <luto@kernel.org> # for the x86 vdso

    \
     
     \ /
      Last update: 2016-02-29 17:21    [W:4.039 / U:0.364 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site