lkml.org 
[lkml]   [2015]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -v2 1/5] oom: add helpers for setting and clearing TIF_MEMDIE
On Fri, Dec 05, 2014 at 05:41:43PM +0100, Michal Hocko wrote:
> +/**
> + * Unmarks the current task as OOM victim.
> + */
> +void unmark_tsk_oom_victim(void)
> +{
> + clear_thread_flag(TIF_MEMDIE);
> +}

This prolly should be unmark_current_oom_victim()? Also, can we
please use full "task" at least in global symbols? I don't think tsk
abbreviation is that popular in function names.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2015-01-07 19:41    [W:0.180 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site