From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [PATCH 0/8][for -mm] mem_notify v6 Date: Sat, 9 Feb 2008 11:43:29 -0500 Message-ID: <20080209114329.68820224@bree.surriel.com> References: <2f11576a0802090719i3c08a41aj38504e854edbfeac@mail.gmail.com> <2f11576a0802090833h7a600ee8x87edb423cbbb5d79@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Jon Masters" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , "Marcelo Tosatti" , "Daniel Spang" , "Andrew Morton" , "Alan Cox" , "linux-fsdevel@vger.kernel.org" , "Pavel Machek" , "Al Boldi" , "Zan Lynx" To: "KOSAKI Motohiro" Return-path: Received: from mx1.redhat.com ([66.187.233.31]:49636 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753814AbYBIQqo (ORCPT ); Sat, 9 Feb 2008 11:46:44 -0500 In-Reply-To: <2f11576a0802090833h7a600ee8x87edb423cbbb5d79@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sun, 10 Feb 2008 01:33:49 +0900 "KOSAKI Motohiro" wrote: > > 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. More importantly, all gtk+ programs, as well as most databases and other system daemons have a poll() loop as their main loop. A file descriptor fits that main loop perfectly. -- All rights reversed.