• Rusty Russell's avatar
    [PATCH] introduce __drain_pages() to take a CPU number · 33a7ddaa
    Rusty Russell authored
    Extracts core of drain_pages() for hotcpu use.  Trivial.
    
    Hotplug CPU needs to drain pages on a downed CPU (usually it's the
    current cpu).  Introduce "__drain_pages", make the CPU an argument,
    and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.
    33a7ddaa
page_alloc.c 39.9 KB