2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00
linux-next/arch/arm
Jiang Liu 0c98853473 mm: concentrate modification of totalram_pages into the mm core
Concentrate code to modify totalram_pages into the mm core, so the arch
memory initialized code doesn't need to take care of it.  With these
changes applied, only following functions from mm core modify global
variable totalram_pages: free_bootmem_late(), free_all_bootmem(),
free_all_bootmem_node(), adjust_managed_page_count().

With this patch applied, it will be much more easier for us to keep
totalram_pages and zone->managed_pages in consistence.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: <sworddragon2@aol.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Jianguo Wu <wujianguo@huawei.com>
Cc: Joonsoo Kim <js1304@gmail.com>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Michel Lespinasse <walken@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-03 16:07:33 -07:00
..
boot Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
common Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
configs ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
crypto
include Main features: 2013-07-03 10:31:38 -07:00
kernel Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
kvm Main features: 2013-07-03 10:31:38 -07:00
lib
mach-at91 ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mach-bcm
mach-bcm2835
mach-clps711x ARM: clps711x: Add support for SYSCON driver 2013-06-11 15:47:45 -07:00
mach-cns3xxx
mach-davinci ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-dove
mach-ebsa110
mach-ep93xx
mach-exynos Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-footbridge
mach-gemini
mach-highbank
mach-imx Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-integrator ARM: integrator: let pciv3 use mem/premem from device tree 2013-06-27 14:19:54 +02:00
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-keystone ARM: keystone: Move CPU bringup code to dedicated asm file 2013-06-24 16:23:36 +02:00
mach-kirkwood ARM SoC board specific changes 2013-07-02 14:10:26 -07:00
mach-ks8695
mach-lpc32xx
mach-mmp
mach-msm Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-mv78xx0
mach-mvebu mvebu register map changes for v3.11 (round 2) 2013-06-21 20:00:08 +02:00
mach-mxs ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mach-netx
mach-nomadik ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mach-nspire arm: Add Initial TI-Nspire support 2013-06-21 20:06:30 +02:00
mach-omap1 ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
mach-omap2 Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-orion5x
mach-picoxcell ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-prima2 ARM SoC cleanups 2013-07-02 13:25:35 -07:00
mach-pxa
mach-realview
mach-rockchip arm: add basic support for Rockchip RK3066a boards 2013-06-21 09:21:02 +02:00
mach-rpc
mach-s3c24xx ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
mach-s3c64xx ARM: SAMSUNG: Let platforms use the new watchdog reset driver 2013-06-19 03:13:16 +09:00
mach-s5p64x0 ARM: s5p64x0: avoid build warning for uncompress.h 2013-06-20 17:31:50 +02:00
mach-s5pc100 ARM: SAMSUNG: Let platforms use the new watchdog reset driver 2013-06-19 03:13:16 +09:00
mach-s5pv210 ARM: SAMSUNG: Consolidate uncompress subroutine 2013-06-19 02:22:18 +09:00
mach-sa1100
mach-shark
mach-shmobile Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-socfpga Adds basic support for Rockchip Cortex-A9 SoCs. 2013-06-21 11:46:56 +02:00
mach-spear
mach-sti ARM: sti: Add STiH416 SOC support 2013-06-25 13:26:58 -07:00
mach-sunxi ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-tegra Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-u300 ARM: u300: only build for ARCH_MULTI_V5 2013-06-20 12:20:47 +02:00
mach-ux500 ARM SoC late changes 2013-07-02 14:42:51 -07:00
mach-versatile
mach-vexpress ARM SoC specific changes 2013-07-02 13:43:38 -07:00
mach-virt Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
mach-vt8500
mach-w90x900
mach-zynq ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
mm mm: concentrate modification of totalram_pages into the mm core 2013-07-03 16:07:33 -07:00
net
nwfpe
oprofile
plat-iop
plat-omap ARM SoC driver specific changes 2013-07-02 14:33:21 -07:00
plat-orion arm: orion: Use irq_get_trigger_type() to get IRQ flags 2013-06-25 11:48:25 +02:00
plat-pxa
plat-samsung ARM SoC late changes 2013-07-02 14:42:51 -07:00
plat-versatile ARM: 7766/1: versatile: don't mark pen as __INIT 2013-06-24 15:23:56 +01:00
tools
vfp
xen
Kconfig Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
Kconfig-nommu ARM: mpu: Ensure that MPU depends on CPU_V7 2013-06-17 15:13:18 +01:00
Kconfig.debug Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00
Makefile Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2013-07-03 09:46:29 -07:00