Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750818AbVLHIjh (ORCPT ); Thu, 8 Dec 2005 03:39:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750824AbVLHIjh (ORCPT ); Thu, 8 Dec 2005 03:39:37 -0500 Received: from fgwmail5.fujitsu.co.jp ([192.51.44.35]:6544 "EHLO fgwmail5.fujitsu.co.jp") by vger.kernel.org with ESMTP id S1750818AbVLHIjg (ORCPT ); Thu, 8 Dec 2005 03:39:36 -0500 Message-ID: <4397F078.9060208@jp.fujitsu.com> Date: Thu, 08 Dec 2005 17:36:08 +0900 From: KAMEZAWA Hiroyuki User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Christoph Lameter CC: Andrew Morton , linux-kernel@vger.kernel.org, lhms-devel@lists.sourceforge.net Subject: Re: [Lhms-devel] Re: [PATCH] swap migration: Fix lru drain References: <20051207161319.6ada5c33.akpm@osdl.org> <20051207165730.02dc591e.akpm@osdl.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1364 Lines: 34 Christoph Lameter wrote: > On Wed, 7 Dec 2005, Andrew Morton wrote: > > >>I'll change this to return 0 on success, or -ENOMEM. Bit more >>conventional, no? > > > Ok. That also allows the addition of other error conditions in the future. > Need to revise isolate_lru_page to reflect that. > This patch was needed to compile. -- Kame == Index: hotremove-2.6.15-rc5-mm1/include/linux/workqueue.h =================================================================== --- hotremove-2.6.15-rc5-mm1.orig/include/linux/workqueue.h 2005-12-08 17:32:18.000000000 +0900 +++ hotremove-2.6.15-rc5-mm1/include/linux/workqueue.h 2005-12-08 17:32:43.000000000 +0900 @@ -65,7 +65,7 @@ extern int FASTCALL(schedule_delayed_work(struct work_struct *work, unsigned long delay)); extern int schedule_delayed_work_on(int cpu, struct work_struct *work, unsigned long delay); -extern void schedule_on_each_cpu(void (*func)(void *info), void *info); +extern int schedule_on_each_cpu(void (*func)(void *info), void *info); extern void flush_scheduled_work(void); extern int current_is_keventd(void); extern int keventd_up(void); - 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/