From mboxrd@z Thu Jan 1 00:00:00 1970 From: "KOSAKI Motohiro" Subject: Re: [PATCH 0/8][for -mm] mem_notify v6 Date: Sun, 10 Feb 2008 01:33:49 +0900 Message-ID: <2f11576a0802090833h7a600ee8x87edb423cbbb5d79@mail.gmail.com> References: <2f11576a0802090719i3c08a41aj38504e854edbfeac@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "Marcelo Tosatti" , "Daniel Spang" , "Rik van Riel" , "Andrew Morton" , "Alan Cox" , "linux-fsdevel@vger.kernel.org" , "Pavel Machek" , "Al Boldi" , "Zan Lynx" To: "Jon Masters" Return-path: Received: from qb-out-0506.google.com ([72.14.204.230]:40661 "EHLO qb-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752591AbYBIQdv (ORCPT ); Sat, 9 Feb 2008 11:33:51 -0500 Received: by qb-out-0506.google.com with SMTP id o24so413143qba.1 for ; Sat, 09 Feb 2008 08:33:50 -0800 (PST) In-Reply-To: Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi > Interesting patch series (I am being yuppie and reading this thread > from my iPhone on a treadmill at the gym - so further comments later). > I think that this is broadly along the lines that I was thinking, but > this should be an RFC only patch series for now. sorry, I fixed at next post. > Some initial questions: Thank you. welcome to any discussion. > Where is the netlink interface? Polling an FD is so last century :) to be honest, I don't know anyone use netlink and why hope receive low memory notify by netlink. poll() is old way, but it works good enough. and, netlink have a bit weak point. end up, netlink philosophy is read/write model. I afraid to many low-mem message queued in netlink buffer at under heavy pressure. it cause degrade memory pressure. > Still, it is good to start with some code - eventually we might just > have a full reservation API created. Rik and I and others have bounced > ideas around for a while and I hope we can pitch in. I will play with > these patches later. Great. Welcome to any idea and any discussion.