Re: [PATCH] SMP support for drain local pages v2.

From: Pavel Machek
Date: Thu May 27 2004 - 14:32:58 EST


Hi!

> >But until something which needs this change is merged into the tree
> >I'd say
> >that this patch should live with the patch which requires it.
>
> CPU hotplugging uses drain_local_pages, and shouldn't drain the pcp
> lists for all cpus. That's why I left the original version alone.
>
> I'm submitting it now in preparation for merging, but Pavel's work on
> SMP support for swsusp should be using this too. (It's not, but it
> should be).

drain_local_pages was there so that accounting is not
screwed by local pages. That should be non-issue for stopped cpus.

OTOH you are right that my swsusp with smp does not work
on my smp machine, and I do not yet know why.
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
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/