]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Revert "UBUNTU: SAUCE: (no-up) If zone is so small that watermarks are the same,...
authorSeth Forshee <seth.forshee@canonical.com>
Thu, 13 Oct 2016 00:25:00 +0000 (19:25 -0500)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
BugLink: http://bugs.launchpad.net/bugs/1632894
This reverts commit 6d748af3bb9d0b670e7d72da11faaf79a45120f5,
which was errantly deemed appropriate to yakkety but is not
needed.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
mm/vmscan.c

index 461ec919211528f6f35194c814eab7ccb42e2ec9..532a2a750952daffed4e4242d36a449eb9ba8837 100644 (file)
@@ -3094,13 +3094,6 @@ static bool zone_balanced(struct zone *zone, int order, int classzone_idx)
 {
        unsigned long mark = high_wmark_pages(zone);
 
-       /*
-        * if zone is so small that watermarks are the same, don't bother trying
-        * to balance; kswapd would just spin continuously trying to balance it.
-        */
-       if (low_wmark_pages(zone) == mark)
-               return true;
-
        if (!zone_watermark_ok_safe(zone, order, mark, classzone_idx))
                return false;