Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763003AbXJRDlw (ORCPT ); Wed, 17 Oct 2007 23:41:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759155AbXJRDlo (ORCPT ); Wed, 17 Oct 2007 23:41:44 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:41079 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759459AbXJRDln (ORCPT ); Wed, 17 Oct 2007 23:41:43 -0400 Date: Wed, 17 Oct 2007 20:41:28 -0700 From: Andrew Morton To: Yasunori Goto Cc: Christoph Lameter , Linux Kernel ML , linux-mm Subject: Re: [Patch 002/002](memory hotplug) rearrange patch for notifier of memory hotplug Message-Id: <20071017204128.99cad4b6.akpm@linux-foundation.org> In-Reply-To: <20071018122210.514D.Y-GOTO@jp.fujitsu.com> References: <20071018120343.5146.Y-GOTO@jp.fujitsu.com> <20071018122210.514D.Y-GOTO@jp.fujitsu.com> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 507 Lines: 14 On Thu, 18 Oct 2007 12:23:34 +0900 Yasunori Goto wrote: > writeback_set_ratelimit(); > + > + if (onlined_pages) > + memory_notify(MEM_ONLINE, &arg); perhaps that open-coded writeback_set_ratelimit() should become a notifier callback. - 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/