+ mm-tile-use-common-help-functions-to-free-reserved-pages.patch added to -mm tree
Subject: + mm-tile-use-common-help-functions-to-free-reserved-pages.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 30 May 2013 15:16:56 -0700
The patch titled
Subject: mm/tile: use common help functions to free reserved pages
has been added to the -mm tree. Its filename is
mm-tile-use-common-help-functions-to-free-reserved-pages.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/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Jiang Liu <[email protected]>
Subject: mm/tile: use common help functions to free reserved pages
Use common help functions to free reserved pages.
---
arch/tile/mm/init.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
arch/tile/mm/init.c renamed from arch/tile/mm/init.c~mm-tile-use-common-help-functions-to-free-reserved-pages +2 -5
@@ -720,7 +720,7 @@ static void __init init_free_pfn_range(u }init_page_count (page);__free_pages (page, order); - totalram_pages += count; +adjust_managed_page_count (page, count); page += count; pfn += count;
@@ -1024,16 +1024,13 @@ static void free_init_pages(char *what,pte_clear (&init_mm, addr, ptep);continue ; } -__ClearPageReserved (page); -init_page_count (page);if (pte_huge (*ptep))BUG_ON (!kdata_huge);else set_pte_at (&init_mm, addr, ptep,pfn_pte (pfn,PAGE_KERNEL ));memset ((void *)addr,POISON_FREE_INITMEM ,PAGE_SIZE ); -free_page (addr); - totalram_pages++; +free_reserved_page (page); }pr_info ("Freeing %s: %ldk freed\n" , what, (end - begin) >>10 ); }
_
Patches currently in -mm which might be from [email protected] are
linux-next.patch mm-change-signature-of-free_reserved_area-to-fix-building-warnings.patch mm-enhance-free_reserved_area-to-support-poisoning-memory-with-zero.patch mm-arm64-kill-poison_init_mem.patch mm-x86-use-free_reserved_area-to-simplify-code.patch mm-tile-use-common-help-functions-to-free-reserved-pages.patch mm-fix-some-trivial-typos-in-comments.patch mm-use-managed_pages-to-calculate-default-zonelist-order.patch mm-accurately-calculate-zone-managed_pages-for-highmem-zones.patch mm-use-a-dedicated-lock-to-protect-totalram_pages-and-zone-managed_pages.patch mm-make-__free_pages_bootmem-only-available-at-boot-time.patch mm-correctly-update-zone-managed_pages.patch mm-correctly-update-zone-managed_pages-fix.patch mm-concentrate-modification-of-totalram_pages-into-the-mm-core.patch mm-report-available-pages-as-memtotal-for-each-numa-node.patch