From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751825AbdBJJPJ (ORCPT ); Fri, 10 Feb 2017 04:15:09 -0500 Received: from mx2.suse.de ([195.135.220.15]:41668 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbdBJJPC (ORCPT ); Fri, 10 Feb 2017 04:15:02 -0500 Date: Fri, 10 Feb 2017 10:15:00 +0100 From: Michal Hocko To: peter enderborg Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Riley Andrews , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Linus Torvalds Subject: Re: [PATCH 1/3 staging-next] android: Collect statistics from lowmemorykiller Message-ID: <20170210091459.GF10893@dhcp22.suse.cz> References: <9febd4f7-a0a7-5f52-e67b-df3163814ac5@sonymobile.com> <20170209192640.GC31906@dhcp22.suse.cz> <20170209200737.GB11098@kroah.com> <20170209205407.GF31906@dhcp22.suse.cz> <845d420f-dd26-fb48-c8ef-10ca1995daf8@sonymobile.com> <20170210075149.GA17166@kroah.com> <20170210075949.GB10893@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 10-02-17 10:05:34, peter enderborg wrote: > On 02/10/2017 08:59 AM, Michal Hocko wrote: [...] > > The approach was wrong from the day 1. Abusing slab shrinkers > > is just a bad place to stick this logic. This all belongs to the > > userspace. > > But now it is there and we have to stick with it. It is also adding maintenance cost. Just have a look at the git log and check how many patches were just a result of the core changes which needed a sync. I seriously doubt that any of the android devices can run natively on the Vanilla kernel so insisting on keeping this code in staging doesn't give much sense to me. -- Michal Hocko SUSE Labs