Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3430172yba; Tue, 7 May 2019 00:44:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkWfPqSntGn16znoovwgfh3+R9slYQusCNiyVdqsiOWvaShSB/OUJwuiUTbBGnqh90jV8X X-Received: by 2002:a17:902:20e2:: with SMTP id v31mr34577821plg.138.1557215085031; Tue, 07 May 2019 00:44:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557215085; cv=none; d=google.com; s=arc-20160816; b=i/BwB/YemDPkuHvMvvKlX8UF40IICGCIcFpqVyag6hi2kMxsnCU8nwX5303lKJVn4+ 6MRdoy6EV11bQ8FHkYTRbfSlAZ9hhISzGeaUfiaQ7w/H1Y9DzU7Q//HOyw87aySdNVnr fLVyqbHxZ09ALyo/9K62ZB2rn4UXDCue7SqUEaJxzIrFCkZW4EKlNexBsun5Ubd6RGDu j5iDHUepQI5Zfe0qS+BZebe75/gHKqsr4iKEs8QejypEEWXzBwQwbgm32uVWLrDO7X3b X+Ub991pLnlw8mfxKhNKmvxioRm4LvxVIN5LQzOvcTEsBuRv7J8m/UA54ThuPsEONOhN h9UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7lQZZQUvbrpCglPdrHtpC2hCfoI82JB8YsYbcjRty0c=; b=L7xrt3F8nBltSMYwxp+w7/HtRV8gRpDkxhkB+z/j1nqj3ZqXkZoUiGGZntwFle0p48 PLDPM5/Cjit75IKK4zkJZsZVaZMzmlIX0d8wrP7D0jQBc5WgPfb3gi1m9LAGfAa33rzz 6FPty05lxxu8MWWMRfZ4K+uHd0u+rfU5zwNmvstkaWyVw/Ta+lEwUCahlpT/be+j5vVI zXyOUOTZ/sZ5wRMPQSJmWkjZljZJ919O+KjSRZNeD/FuWRHokC6FXDc7XKd650CZF/cf VEFiC/7LX/6z7cn/2QYip/WymOkC28ePBi7nAdCoowxwegQ7p7yCFWl1XZdBN/TLx75a N0bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2MVgXQNq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si3694163pgo.587.2019.05.07.00.44.28; Tue, 07 May 2019 00:44:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2MVgXQNq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726750AbfEGHni (ORCPT + 99 others); Tue, 7 May 2019 03:43:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:34574 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbfEGHnh (ORCPT ); Tue, 7 May 2019 03:43:37 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B243120989; Tue, 7 May 2019 07:43:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557215017; bh=MFdZ/EgpyfY0kwMJXZf/qyVBEWcoQTA3dkpraEXQxMo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2MVgXQNq38tiYvMcy6xa99VJq5jg23ZnqHpAEu4onk5dmCkIOFH9x1lLwuj6OOiJ2 sewqDcBYKlyNG65ez+rwXLx6PYzSMdFiHCNVzxgbw++r7k2T6KOScNLiActm7KzU+m xAvWpbDF7QlCx3RNDlId5RsJEh+Nfm1FJlhwRxwU= Date: Tue, 7 May 2019 09:43:34 +0200 From: Greg Kroah-Hartman To: Sultan Alsawaf Cc: "open list:ANDROID DRIVERS" , Daniel Colascione , Todd Kjos , Kees Cook , Peter Zijlstra , Martijn Coenen , LKML , Tim Murray , Michal Hocko , Suren Baghdasaryan , linux-mm , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Ingo Molnar , Steven Rostedt , Oleg Nesterov , Joel Fernandes , Andy Lutomirski , kernel-team , Christian Brauner Subject: Re: [RFC] simple_lmk: Introduce Simple Low Memory Killer for Android Message-ID: <20190507074334.GB26478@kroah.com> References: <20190318002949.mqknisgt7cmjmt7n@brauner.io> <20190318235052.GA65315@google.com> <20190319221415.baov7x6zoz7hvsno@brauner.io> <20190319231020.tdcttojlbmx57gke@brauner.io> <20190320015249.GC129907@google.com> <20190507021622.GA27300@sultan-box.localdomain> <20190507070430.GA24150@kroah.com> <20190507072721.GA4364@sultan-box.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190507072721.GA4364@sultan-box.localdomain> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 07, 2019 at 12:27:21AM -0700, Sultan Alsawaf wrote: > On Tue, May 07, 2019 at 09:04:30AM +0200, Greg Kroah-Hartman wrote: > > Um, why can't "all" Android devices take the same patches that the Pixel > > phones are using today? They should all be in the public android-common > > kernel repositories that all Android devices should be syncing with on a > > weekly/monthly basis anyway, right? > > > > thanks, > > > > greg k-h > > Hi Greg, > > I only see PSI present in the android-common kernels for 4.9 and above. The vast > majority of Android devices do not run a 4.9+ kernel. It seems unreasonable to > expect OEMs to toil with backporting PSI themselves to get decent memory > management. Given that any "new" android device that gets shipped "soon" should be using 4.9.y or newer, is this a real issue? And if it is, I'm sure that asking for those patches to be backported to 4.4.y would be just fine, have you asked? Note that I know of Android Go devices, running 3.18.y kernels, do NOT use the in-kernel memory killer, but instead use the userspace solution today. So trying to get another in-kernel memory killer solution added anywhere seems quite odd. thanks, greg k-h