Re: [PATCH] swap migration: Fix lru drain
From: Andrew Morton
Date: Wed Dec 07 2005 - 19:56:04 EST
Christoph Lameter <clameter@xxxxxxxxxxxx> wrote:
>
> 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?
>
I suppose so..
> > Can't this deadlock if 2 CPUs each send work to the other
>
> Then we would need to fix the workqueue flushing function.
I don't think I can see a deadlock here.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/