linux_dsm_epyc7002/arch/parisc
Dave Hansen 208d54e551 [PATCH] memory hotplug locking: node_size_lock
pgdat->node_size_lock is basically only neeeded in one place in the normal
code: show_mem(), which is the arch-specific sysrq-m printing function.

Strictly speaking, the architectures not doing memory hotplug do no need this
locking in show_mem().  However, they are all included for completeness.  This
should also make any future consolidation of all of the implementations a
little more straightforward.

This lock is also held in the sparsemem code during a memory removal, as
sections are invalidated.  This is the place there pfn_valid() is made false
for a memory area that's being removed.  The lock is only required when doing
pfn_valid() operations on memory which the user does not already have a
reference on the page, such as in show_mem().

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-29 21:40:44 -07:00
..
configs [PARISC] defconfig updates 2005-10-21 23:11:03 -04:00
hpux kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
kernel [PATCH] mm: parisc pte atomicity 2005-10-29 21:40:42 -07:00
lib [PARISC] Specify level to fix binutils level promotion bug 2005-10-21 22:56:35 -04:00
math-emu Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mm [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig [PARISC] defconfig updates 2005-10-21 23:11:03 -04:00
defpalo.conf Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PARISC] Update Kconfig for itimer selection 2005-10-21 22:52:46 -04:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PARISC] Update minimum compiler version and CROSS_COMPILE for parisc64 2005-10-21 22:52:00 -04:00
nm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00