Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753669AbYAPLvg (ORCPT ); Wed, 16 Jan 2008 06:51:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751890AbYAPLv2 (ORCPT ); Wed, 16 Jan 2008 06:51:28 -0500 Received: from nz-out-0506.google.com ([64.233.162.226]:12378 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751823AbYAPLv1 (ORCPT ); Wed, 16 Jan 2008 06:51:27 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GgYuWpcfcAaxpxHLJiJWpiJ+ljSq4poHSYpPEAL96iK3dujZs6gr5xtHLw5MENHM7MrJLMVT1BQps5+mWbUDyCKYkyo1Y29NOmBSLEOveZQi1P8WZxVMqdD07W6LEEsFCIyXt3vdOA6gStylhxUawzGWCNTE9HqtKl2ECUmNG8Y= Message-ID: Date: Wed, 16 Jan 2008 12:51:26 +0100 From: "=?ISO-8859-1?Q?Daniel_Sp=E5ng?=" To: "Pavel Machek" Subject: Re: [RFC][PATCH 3/5] add /dev/mem_notify device Cc: "Marcelo Tosatti" , "KOSAKI Motohiro" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Rik van Riel" , "Andrew Morton" In-Reply-To: <20080116114234.GA22460@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080115100029.1178.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080115221627.GC1565@elf.ucw.cz> <20080116105102.11B1.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080116041332.GA30877@dmt> <20080116114234.GA22460@elf.ucw.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 44 On 1/16/08, Pavel Machek wrote: > 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. I don't think we should use oom in the name, since the notification is sent long before oom. -- 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/