From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758288Ab2FEIBr (ORCPT ); Tue, 5 Jun 2012 04:01:47 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:35948 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757854Ab2FEIBq (ORCPT ); Tue, 5 Jun 2012 04:01:46 -0400 MIME-Version: 1.0 In-Reply-To: <4FCDBC8E.1000705@kernel.org> References: <20120601122118.GA6128@lizard> <4FCC7592.9030403@kernel.org> <20120604113811.GA4291@lizard> <20120604121722.GA2768@barrios> <20120604133527.GA13650@lizard> <4FCDBC8E.1000705@kernel.org> Date: Tue, 5 Jun 2012 11:01:45 +0300 X-Google-Sender-Auth: HjfD5ROV4vTVzPe9CyBWQmy_Xxc Message-ID: Subject: Re: [PATCH 0/5] Some vmevent fixes... From: Pekka Enberg To: Minchan Kim Cc: Anton Vorontsov , KOSAKI Motohiro , Leonid Moiseichuk , John Stultz , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org, kernel-team@android.com Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 5, 2012 at 11:00 AM, Minchan Kim wrote: >> That's what Nokia's lowmem notifier uses. We can probably drop them >> once we have something else they could use. > > Next concern is that periodic timer of implementation. > I think it would add direct hook in vmscan.c rather than peeking raw vmstat periodically by timer > so we can control more fine-grained way without unnecessary overhead. If the hooks are clean and it doesn't hurt the !CONFIG_VMEVENT case, I'm completely OK with that.