]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/memory_hotplug.c
isdn: mISDN: socket: fix information leak to userland
[net-next-2.6.git] / mm / memory_hotplug.c
index dd186c1a5d53f9ebd27de4c1bedcaac471d6c93e..d4e940a26945cde1f8251b39b37fde3144639d5b 100644 (file)
@@ -840,7 +840,6 @@ repeat:
        ret = 0;
        if (drain) {
                lru_add_drain_all();
-               flush_scheduled_work();
                cond_resched();
                drain_all_pages();
        }
@@ -862,7 +861,6 @@ repeat:
        }
        /* drain all zone's lru pagevec, this is asyncronous... */
        lru_add_drain_all();
-       flush_scheduled_work();
        yield();
        /* drain pcp pages , this is synchrouns. */
        drain_all_pages();