+ mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3
has been added to the -mm tree.  Its filename is
     mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Oscar Salvador <osalvador@xxxxxxx>
Subject: mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3

v3 -> v2: Get rid of the round_up()
v2 -> v1: Adjust skip pages logic per Michal

Link: http://lkml.kernel.org/r/20181221062809.31771-1-osalvador@xxxxxxx
Signed-off-by: Oscar Salvador <osalvador@xxxxxxx>
Acked-by: Michal Hocko <mhocko@xxxxxxxx>
Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>
Cc: Vlastimil Babka <vbabka@xxxxxxx>
Cc: Pavel Tatashin <pavel.tatashin@xxxxxxxxxxxxx>
Cc: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/page_alloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/page_alloc.c~mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3
+++ a/mm/page_alloc.c
@@ -7821,7 +7821,7 @@ bool has_unmovable_pages(struct zone *zo
 				goto unmovable;
 
 			skip_pages = (1 << compound_order(head)) - (page - head);
-			iter = round_up(iter + 1, skip_pages) - 1;
+			iter += skip_pages - 1;
 			continue;
 		}
 
_

Patches currently in -mm which might be from osalvador@xxxxxxx are

mm-page_alloc-fix-has_unmovable_pages-for-hugepages.patch
mm-page_alloc-fix-has_unmovable_pages-for-hugepages-v3.patch
kernel-resource-check-for-ioresource_sysram-in-release_mem_region_adjustable.patch
mm-page_alloc-drop-uneeded-__meminit-and-__meminitdata.patch
mm-kmemleak-little-optimization-while-scanning.patch
mm-memory_hotplug-dont-bail-out-in-do_migrate_range-prematurely.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux