linux/arch
Huang Pei b223fca477 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>
History 2021-07-19 10:04:42 +02:00
..
alpha sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
arc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
arm sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
arm64 arm64: dts: marvell: armada-37xx: Fix reg for standard variant of UART 2021-07-14 17:07:46 +02:00
csky csky: syscache: Fixup duplicate cache flush 2021-07-14 17:07:48 +02:00
h8300 arch: rearrange headers inclusion order in asm/bitops for m68k, sh and h8300 2021-05-06 19:24:11 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
ia64 ia64: mca_drv: fix incorrect array size calculation 2021-07-14 17:06:38 +02:00
m68k m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning 2021-07-14 17:06:43 +02:00
microblaze quota: Disable quotactl_path syscall 2021-05-17 14:39:56 +02:00
mips MIPS: add PMD table accounting into MIPS'pmd_alloc_one 2021-07-19 10:04:42 +02:00
nds32 tracing updates for 5.13 2021-05-03 11:19:54 -07:00
nios2 Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2021-05-02 09:14:01 -07:00
openrisc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
parisc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
powerpc powerpc/preempt: Don't touch the idle task's preempt_count during hotplug 2021-07-14 17:07:52 +02:00
riscv sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
s390 s390: preempt: Fix preempt_count initialization 2021-07-14 17:07:51 +02:00
sh sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
sparc sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
um Merge branch 'akpm' (patches from Andrew) 2021-05-07 00:34:51 -07:00
x86 bpf, x86: Fix extable offset calculation 2021-07-14 17:07:23 +02:00
xtensa sched/core: Initialize the idle task with preemption disabled 2021-07-14 17:06:21 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kconfig Add Landlock, a new LSM from Mickaël Salaün <mic@linux.microsoft.com> 2021-05-01 18:50:44 -07:00