linux-stable/arch
Huang Pei 920a42d8b8 MIPS: add PMD table accounting into MIPS'pmd_alloc_one
[ Upstream commit ed914d48b6 ]

This fixes Page Table accounting bug.

MIPS is the ONLY arch just defining __HAVE_ARCH_PMD_ALLOC_ONE alone.
Since commit b2b29d6d01 (mm: account PMD tables like PTE tables),
"pmd_free" in asm-generic with PMD table accounting and "pmd_alloc_one"
in MIPS without PMD table accounting causes PageTable accounting number
negative, which read by global_zone_page_state(), always returns 0.

Signed-off-by: Huang Pei <huangpei@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:17:44 +02:00
..
alpha alpha: fix annotation of io{read,write}{16,32}be() 2020-08-26 10:29:57 +02:00
arc ARCv2: save ABI registers across signal handling 2021-06-30 08:48:54 -04:00
arm ARM: dts: at91: sama5d4: fix pinctrl muxing 2021-07-20 16:17:28 +02:00
arm64 arm64: perf: Disable PMU while processing counter overflows 2021-06-30 08:48:56 -04:00
blackfin
c6x
cris
frv
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-23 14:00:33 +01:00
hexagon
ia64 ia64: mca_drv: fix incorrect array size calculation 2021-07-20 16:17:34 +02:00
m32r
m68k m68k: q40: Fix info-leak in rtc_ioctl 2020-10-01 13:12:26 +02:00
metag
microblaze microblaze: Prevent the overflow of the start 2020-02-28 16:36:08 +01:00
mips MIPS: add PMD table accounting into MIPS'pmd_alloc_one 2021-07-20 16:17:44 +02:00
mn10300
nios2 nios2: ksyms: Add missing symbol exports 2020-01-27 14:46:24 +01:00
openrisc openrisc: Define memory barrier mb 2021-06-03 08:36:22 +02:00
parisc parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers 2021-04-16 11:57:48 +02:00
powerpc powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers 2021-06-16 11:53:02 +02:00
s390 s390: appldata depends on PROC_SYSCTL 2021-07-20 16:17:40 +02:00
score
sh sh: dma: fix kconfig dependency for G2_DMA 2021-01-30 13:31:15 +01:00
sparc sparc64: Fix opcode filtering in handling of no fault loads 2021-03-30 14:40:09 +02:00
tile
um um: Mark all kernel symbols as local 2021-05-22 10:57:42 +02:00
unicore32
x86 x86/fpu: Reset state for all signal restore failures 2021-06-30 08:48:56 -04:00
xtensa xtensa: disable preemption around cache alias management calls 2020-11-24 13:05:56 +01:00
.gitignore
Kconfig mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race 2020-11-18 18:28:03 +01:00