Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965060AbVLHAna (ORCPT ); Wed, 7 Dec 2005 19:43:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965075AbVLHAna (ORCPT ); Wed, 7 Dec 2005 19:43:30 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:7103 "EHLO omx1.americas.sgi.com") by vger.kernel.org with ESMTP id S965060AbVLHAn3 (ORCPT ); Wed, 7 Dec 2005 19:43:29 -0500 Date: Wed, 7 Dec 2005 16:43:15 -0800 (PST) From: Christoph Lameter To: Nick Piggin cc: akpm@osdl.org, linux-kernel@vger.kernel.org, lhms-devel@lists.sourceforge.net Subject: Re: [PATCH] swap migration: Fix lru drain In-Reply-To: <43976FD4.8060404@cyberone.com.au> Message-ID: References: <43976FD4.8060404@cyberone.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 524 Lines: 15 On Thu, 8 Dec 2005, Nick Piggin wrote: > Do we need a lock_cpu_hotplug() around here? Well, then we may need that lock for each "for_each_online_cpu" use? > Can't this deadlock if 2 CPUs each send work to the other Then we would need to fix the workqueue flushing function. - 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/