Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757521Ab2FEHxo (ORCPT ); Tue, 5 Jun 2012 03:53:44 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:47713 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755066Ab2FEHxm (ORCPT ); Tue, 5 Jun 2012 03:53:42 -0400 MIME-Version: 1.0 In-Reply-To: <20120604133527.GA13650@lizard> References: <20120601122118.GA6128@lizard> <4FCC7592.9030403@kernel.org> <20120604113811.GA4291@lizard> <20120604121722.GA2768@barrios> <20120604133527.GA13650@lizard> Date: Tue, 5 Jun 2012 10:53:41 +0300 X-Google-Sender-Auth: vUDtINVpVIhUU2yOab65DUGkSNw Message-ID: Subject: Re: [PATCH 0/5] Some vmevent fixes... From: Pekka Enberg To: Anton Vorontsov Cc: Minchan Kim , 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 Content-Length: 856 Lines: 21 On Mon, Jun 4, 2012 at 4:35 PM, Anton Vorontsov wrote: >> I don't mean VMEVENT_ATTR_LOWMEM_PAGES but following as, >> >> VMEVENT_ATTR_NR_FREE_PAGES >> VMEVENT_ATTR_NR_SWAP_PAGES >> VMEVENT_ATTR_NR_AVAIL_PAGES >> >> I'm not sure how it is useful. > > Yep, these raw values are mostly useless, and personally I don't use > these plain attributes. I use heuristics, i.e. "blended" attributes. > If we can come up with levels-based approach w/o using vmstat, well.. > OK then. That's what Nokia's lowmem notifier uses. We can probably drop them once we have something else they could use. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/