Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756459Ab2EHHRE (ORCPT ); Tue, 8 May 2012 03:17:04 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:49101 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755805Ab2EHHRD (ORCPT ); Tue, 8 May 2012 03:17:03 -0400 Message-ID: <4FA8C86B.8010205@gmail.com> Date: Tue, 08 May 2012 03:16:59 -0400 From: KOSAKI Motohiro User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Anton Vorontsov CC: KOSAKI Motohiro , Pekka Enberg , Minchan Kim , 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 Subject: Re: [PATCH 3/3] vmevent: Implement special low-memory attribute References: <20120501132409.GA22894@lizard> <20120501132620.GC24226@lizard> <4FA35A85.4070804@kernel.org> <20120504073810.GA25175@lizard> <20120507121527.GA19526@lizard> <4FA82056.2070706@gmail.com> <20120508065829.GA13357@lizard> In-Reply-To: <20120508065829.GA13357@lizard> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1845 Lines: 39 (5/8/12 2:58 AM), Anton Vorontsov wrote: > On Tue, May 08, 2012 at 01:42:05AM -0400, KOSAKI Motohiro wrote: > [...] >>> Well, yeah, if we are to report _number of pages_, the numbers better >>> be meaningful. >>> >>> That said, I think you are being unfair to Anton who's one of the few >>> that's actually taking the time to implement this properly instead of >>> settling for an out-of-tree hack. >> >> Unfair? But only I can talk about technical comment. To be honest, I >> really dislike >> I need say the same explanation again and again. A lot of people don't read >> past discussion. And as far as the patches take the same mistake, I must say >> the same thing. It is just PITA. > > Note that just telling people that something is PITA doesn't help solve > things (so people will come back to you with stupid questions over and > over again). You can call people morons, idiots and dumbasses (that's > all fine) but still finding a way to be productive. :-) > > You could just give a link to a previous discussion, in which you think > you explained all your concerns regarding cache handling issues, or > memory notifications/statistics in general. > > So, feel free to call me an idiot, but please expand your points a > little bit or give a link to the discussion you're referring to? I don't think you are idiot. But I hope you test your patch before submitting. That just don't work especially on x86. Because of, all x86 box have multiple zone and summarized statistics (i.e. global_page_state() thing) don't work and can't prevent oom nor swapping. and please see may previous mail. -- 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/