From: akpm@linux-foundation.org Subject: + mm-bootmemc-remove-unused-local-map.patch added to -mm tree Date: Wed, 16 Oct 2013 13:15:57 -0700 Message-ID: <525ef3fd.0oJszDwESQjAkKvL%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:37153 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761599Ab3JPUP5 (ORCPT ); Wed, 16 Oct 2013 16:15:57 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, daeseok.youn@gmail.com Subject: + mm-bootmemc-remove-unused-local-map.patch added to -mm tree To: daeseok.youn@gmail.com From: akpm@linux-foundation.org Date: Wed, 16 Oct 2013 13:15:57 -0700 The patch titled Subject: mm/bootmem.c: remove unused local `map' has been added to the -mm tree. Its filename is mm-bootmemc-remove-unused-local-map.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-bootmemc-remove-unused-local-map.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-bootmemc-remove-unused-local-map.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: Daeseok Youn Subject: mm/bootmem.c: remove unused local `map' Signed-off-by: Daeseok Youn Signed-off-by: Andrew Morton --- mm/bootmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN mm/bootmem.c~mm-bootmemc-remove-unused-local-map mm/bootmem.c --- a/mm/bootmem.c~mm-bootmemc-remove-unused-local-map +++ a/mm/bootmem.c @@ -172,11 +172,12 @@ void __init free_bootmem_late(unsigned l static unsigned long __init free_all_bootmem_core(bootmem_data_t *bdata) { struct page *page; - unsigned long start, end, pages, count = 0; + unsigned long *map, start, end, pages, count = 0; if (!bdata->node_bootmem_map) return 0; + map = bdata->node_bootmem_map; start = bdata->node_min_pfn; end = bdata->node_low_pfn; @@ -184,10 +185,9 @@ static unsigned long __init free_all_boo bdata - bootmem_node_data, start, end); while (start < end) { - unsigned long *map, idx, vec; + unsigned long idx, vec; unsigned shift; - map = bdata->node_bootmem_map; idx = start - bdata->node_min_pfn; shift = idx & (BITS_PER_LONG - 1); /* _ Patches currently in -mm which might be from daeseok.youn@gmail.com are mm-bootmemc-remove-unused-local-map.patch