From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH -v2 1/5] oom: add helpers for setting and clearing TIF_MEMDIE Date: Wed, 7 Jan 2015 12:57:31 -0500 Message-ID: <20150107175731.GG4395@htj.dyndns.org> References: <20141110163055.GC18373@dhcp22.suse.cz> <1417797707-31699-1-git-send-email-mhocko@suse.cz> <1417797707-31699-2-git-send-email-mhocko@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1417797707-31699-2-git-send-email-mhocko@suse.cz> Sender: owner-linux-mm@kvack.org To: Michal Hocko Cc: linux-mm@kvack.org, Andrew Morton , "\\\"Rafael J. Wysocki\\\"" , David Rientjes , Johannes Weiner , Oleg Nesterov , Cong Wang , LKML , linux-pm@vger.kernel.org List-Id: linux-pm@vger.kernel.org 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org