From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757667AbbJ3M7H (ORCPT ); Fri, 30 Oct 2015 08:59:07 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38090 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751219AbbJ3M7G (ORCPT ); Fri, 30 Oct 2015 08:59:06 -0400 Date: Fri, 30 Oct 2015 13:59:03 +0100 From: Michal Hocko To: David Rientjes Cc: Hongjie Fang =?utf-8?B?KOaWuea0quadsCk=?= , "Eric W. Biederman" , "linux-kernel@vger.kernel.org" Subject: Re: =?utf-8?B?562U5aSNOiBbUEFUQ0h2?= =?utf-8?Q?2?= 4.3-rc6] proc: fix convert from oom_score_adj to oom_adj Message-ID: <20151030125903.GD23627@dhcp22.suse.cz> References: <1f80189385e540c2a5b2747a7a265d8c@SHMBX01.spreadtrum.com> <5eff586de266418090f792077fcff993@SHMBX01.spreadtrum.com> <20151029170422.GH23598@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151029170422.GH23598@dhcp22.suse.cz> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 29-10-15 18:04:22, Michal Hocko wrote: > On Wed 28-10-15 16:54:04, David Rientjes wrote: > [...] > > It's a bad situation, I agree, and we anticipated the complete removal of > > /proc/pid/oom_adj years ago since it has been deprecated for years. Maybe > > one day we can convince Linus that is possible, but until then we're stuck > > with it. > > Let's do it then. I've just checked debian code search and it seems that procps still relies on oom_adj. I have sent a patch but that sounds like we are not there yet. I will hunt for other projects still using the deprecated file exclusively. Hopefully there won't be too many of them. -- Michal Hocko SUSE Labs