linux/arch/powerpc/platforms
Arun KS ca79b0c211 mm: convert totalram_pages and totalhigh_pages variables to atomic
totalram_pages and totalhigh_pages are made static inline function.

Main motivation was that managed_page_count_lock handling was complicating
things.  It was discussed in length here,
https://lore.kernel.org/patchwork/patch/995739/#1181785 So it seemes
better to remove the lock and convert variables to atomic, with preventing
poteintial store-to-read tearing as a bonus.

[akpm@linux-foundation.org: coding style fixes]
Link: http://lkml.kernel.org/r/1542090790-21750-4-git-send-email-arunks@codeaurora.org
Signed-off-by: Arun KS <arunks@codeaurora.org>
Suggested-by: Michal Hocko <mhocko@suse.com>
Suggested-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Reviewed-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-12-28 12:11:47 -08:00
..
4xx powerpc/4xx: Delete an unnecessary return statement in two functions 2018-12-21 11:32:49 +11:00
8xx powerpc updates for 4.20 2018-10-26 14:36:21 -07:00
40x powerpc: PCI_MSI needs PCI 2018-11-02 00:15:25 +09:00
44x powerpc: Use of_node_name_eq for node name comparisons 2018-12-22 21:29:50 +11:00
52xx powerpc: Use of_node_name_eq for node name comparisons 2018-12-22 21:29:50 +11:00
82xx powerpc/kconfig: remove CONFIG_6xx 2018-11-26 22:33:37 +11:00
83xx powerpc/83xx: handle machine check caused by watchdog timer 2018-12-21 20:56:41 -06:00
85xx powerpc: use mm zones more sensibly 2018-12-20 22:21:20 +11:00
86xx powerpc/smp: Use code patching to restore reset vector 2018-12-19 18:56:32 +11:00
512x powerpc/kconfig: remove CONFIG_6xx 2018-11-26 22:33:37 +11:00
amigaone powerpc/kconfig: remove CONFIG_6xx 2018-11-26 22:33:37 +11:00
cell powerpc: Use of_node_name_eq for node name comparisons 2018-12-22 21:29:50 +11:00
chrp powerpc: Use of_node_name_eq for node name comparisons 2018-12-22 21:29:50 +11:00
embedded6xx powerpc/kconfig: remove CONFIG_6xx 2018-11-26 22:33:37 +11:00
maple powerpc: Use device_type helpers to access the node type 2018-11-26 22:33:37 +11:00
pasemi powerpc/pasemi: Add Nemo board IRQ initroutine 2018-12-20 22:21:20 +11:00
powermac powerpc: Use of_node_name_eq for node name comparisons 2018-12-22 21:29:50 +11:00
powernv powerpc: Use of_node_name_eq for node name comparisons 2018-12-22 21:29:50 +11:00
ps3 mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
pseries mm: convert totalram_pages and totalhigh_pages variables to atomic 2018-12-28 12:11:47 -08:00
fsl_uli1575.c
Kconfig powerpc/kconfig: remove CONFIG_6xx 2018-11-26 22:33:37 +11:00
Kconfig.cputype powerpc: allow NOT_COHERENT_CACHE for amigaone 2018-12-20 22:21:20 +11:00
Makefile powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00