From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 16 Jan 2008 12:42:34 +0100 From: Pavel Machek Subject: Re: [RFC][PATCH 3/5] add /dev/mem_notify device Message-ID: <20080116114234.GA22460@elf.ucw.cz> References: <20080115100029.1178.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080115221627.GC1565@elf.ucw.cz> <20080116105102.11B1.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080116041332.GA30877@dmt> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080116041332.GA30877@dmt> Sender: owner-linux-mm@kvack.org Return-Path: To: Marcelo Tosatti Cc: KOSAKI Motohiro , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Daniel Spang , Rik van Riel , Andrew Morton List-ID: On Wed 2008-01-16 02:13:32, Marcelo Tosatti wrote: > On Wed, Jan 16, 2008 at 10:57:16AM +0900, KOSAKI Motohiro wrote: > > Hi Pavel > > > > > > err = poll(&pollfds, 1, -1); // wake up at low memory > > > > > > > > ... > > > > > > > > > > Nice, this is really needed for openmoko, zaurus, etc.... > > > > > > But this changelog needs to go into Documentation/... > > > > > > ...and /dev/mem_notify is really a bad name. /dev/memory_low? > > > /dev/oom? > > > > thank you for your kindful advise. > > > > but.. > > > > to be honest, my english is very limited. > > I can't make judgments name is good or not. > > > > Marcelo, What do you think his idea? > > "mem_notify" sounds alright, but I don't really care. > > Notify: > > To give notice to; inform: notified the citizens of the curfew by > posting signs. I'd read mem_notify as "tell me when new memory is unplugged" or something. /dev/oom_notify? Plus, /dev/ names usually do not have "_" in them. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org