Re: [PATCH] Don't refill pcp lists during SWSUSP.

From: Pavel Machek (pavel@ucw.cz)
Date: Tue Mar 18 2003 - 03:18:09 EST


Hi!

> Here's another patch (the last for a little while, I promise!). It stops
> the pcp lists from being refilled while SWSUSP is running. Despite the
> comment in the page, drain_local_pages does only need to get called once
> right now, but I have patches coming that will (DV) change that. This
> patch is thus groundwork for them.

This adds external (and pretty ugly) dependency of swsusp on the
outside. And as it still needs to drain_local_pages(), nothing is
gained. I believe it is better to just call drain_local_pages few
times. Magic hooks "if suspending, don't do this" seem like wrong
approach to me.

                                                                Pavel

-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
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/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:22 EST