lkml.org 
[lkml]   [2003]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [from the cache]
©2003-2011 Jasper Spaans