Messages in this thread | | | Date | Tue, 18 Mar 2003 09:18:09 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH] Don't refill pcp lists during SWSUSP. |
| |
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/
| |