From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932167AbcFOBBH (ORCPT ); Tue, 14 Jun 2016 21:01:07 -0400 Received: from LGEAMRELO13.lge.com ([156.147.23.53]:43243 "EHLO lgeamrelo13.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752184AbcFOBBF (ORCPT ); Tue, 14 Jun 2016 21:01:05 -0400 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: minchan@kernel.org X-Original-SENDERIP: 10.177.223.161 X-Original-MAILFROM: minchan@kernel.org Date: Wed, 15 Jun 2016 10:01:07 +0900 From: Minchan Kim To: Rik van Riel Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Sangwoo Park Subject: Re: [PATCH v1 3/3] mm: per-process reclaim Message-ID: <20160615010107.GE17127@bbox> References: <1465804259-29345-1-git-send-email-minchan@kernel.org> <1465804259-29345-4-git-send-email-minchan@kernel.org> <1465837595.2756.1.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465837595.2756.1.camel@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 13, 2016 at 01:06:35PM -0400, Rik van Riel wrote: > On Mon, 2016-06-13 at 16:50 +0900, Minchan Kim wrote: > > These day, there are many platforms available in the embedded market > > and sometime, they has more hints about workingset than kernel so > > they want to involve memory management more heavily like android's > > lowmemory killer and ashmem or user-daemon with lowmemory notifier. > > > > This patch adds add new method for userspace to manage memory > > efficiently via knob "/proc//reclaim" so platform can reclaim > > any process anytime. > > > > Could it make sense to invoke this automatically, > perhaps from the Android low memory killer code? It's doable. In fact, It was first internal implementation of our product. However, I wanted to use it on platforms which don't have lowmemory killer. :)