Alexander Duyck
f682a97a00
mm: provide kernel parameter to allow disabling page init poisoning
...
Patch series "Address issues slowing persistent memory initialization", v5.
The main thing this patch set achieves is that it allows us to initialize
each node worth of persistent memory independently. As a result we reduce
page init time by about 2 minutes because instead of taking 30 to 40
seconds per node and going through each node one at a time, we process all
4 nodes in parallel in the case of a 12TB persistent memory setup spread
evenly over 4 nodes.
This patch (of 3):
On systems with a large amount of memory it can take a significant amount
of time to initialize all of the page structs with the PAGE_POISON_PATTERN
value. I have seen it take over 2 minutes to initialize a system with
over 12TB of RAM.
In order to work around the issue I had to disable CONFIG_DEBUG_VM and
then the boot time returned to something much more reasonable as the
arch_add_memory call completed in milliseconds versus seconds. However in
doing that I had to disable all of the other VM debugging on the system.
In order to work around a kernel that might have CONFIG_DEBUG_VM enabled
on a system that has a large amount of memory I have added a new kernel
parameter named "vm_debug" that can be set to "-" in order to disable it.
Link: http://lkml.kernel.org/r/[email protected]
Reviewed-by: Pavel Tatashin <[email protected] >
Signed-off-by: Alexander Duyck <[email protected] >
Cc: Dave Hansen <[email protected] >
Cc: Michal Hocko <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2018-10-26 16:26:34 -07:00
..
ABI
Char/Misc driver patches for 4.20-rc1
2018-10-26 09:11:43 -07:00
accelerators
accounting
psi: cgroup support
2018-10-26 16:26:32 -07:00
acpi
admin-guide
mm: provide kernel parameter to allow disabling page init poisoning
2018-10-26 16:26:34 -07:00
aoe
arm
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
arm64
Documentation/arm64: HugeTLB page implementation
2018-10-10 18:08:36 +01:00
auxdisplay
backlight
block
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
blockdev
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
bpf
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
2018-08-07 11:02:05 -07:00
bus-devices
cdrom
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
cgroup-v1
Merge branch 'for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
2018-10-25 17:15:46 -07:00
cma
connector
console
Documentation: corrections to console/console.txt
2018-08-10 16:09:40 -06:00
core-api
Printk changes for 4.20
2018-10-25 17:11:52 -07:00
cpu-freq
cpuidle
crypto
dev-tools
docs: dev-tools: coccinelle: Update documentation
2018-08-31 16:51:59 -06:00
device-mapper
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
devicetree
Char/Misc driver patches for 4.20-rc1
2018-10-26 09:11:43 -07:00
doc-guide
driver-api
Char/Misc driver patches for 4.20-rc1
2018-10-26 09:11:43 -07:00
driver-model
early-userspace
initramfs: move gen_initramfs_list.sh from scripts/ to usr/
2018-08-22 23:21:44 +09:00
EDID
extcon
fault-injection
fb
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
features
filesystems
mm, proc: add KReclaimable to /proc/meminfo
2018-10-26 16:26:32 -07:00
firmware_class
fmc
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
fpga
gpio
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
gpu
hid
hwmon
hwmon: (ina3221) Read channel input source info from DT
2018-10-10 20:37:13 -07:00
i2c
i2c: refactor function to release a DMA safe buffer
2018-08-30 23:13:15 +02:00
ia64
ide
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
iio
infiniband
input
Input: Add the REL_WHEEL_HI_RES event code
2018-09-05 10:12:07 +02:00
ioctl
USB/PHY patches for 4.20-rc1
2018-10-26 08:14:13 -07:00
isdn
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
kbuild
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
kdump
kernel-hacking
laptops
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
leds
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
lightnvm
livepatch
locking
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
m68k
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
maintainer
md
media
media: video_function_calls.rst: drop obsolete video-set-attributes reference
2018-08-29 13:24:30 -04:00
memory-devices
mic
mips
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
misc-devices
mmc
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
mtd
Documentation: mtd: remove stale pxa3xx NAND controller documentation
2018-09-04 23:37:38 +02:00
namespaces
netlabel
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
networking
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
nfc
nios2
nvdimm
nvmem
Documentation: nvmem: document cell tables and lookup entries
2018-09-28 15:14:54 +02:00
openrisc
parisc
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
PCI
pci-v4.20-changes
2018-10-25 06:50:48 -07:00
pcmcia
pcmcia: remove long deprecated pcmcia_request_exclusive_irq() function
2018-08-18 12:30:42 -07:00
perf
phy
platform
power
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
powerpc
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
pps
process
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
pti
ptp
rapidio
RCU
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
riscv
s390
KVM updates for v4.20
2018-10-25 17:57:35 -07:00
scheduler
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
scsi
SCSI misc on 20181024
2018-10-25 07:40:30 -07:00
security
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
serial
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
sh
sound
ALSA: doc: Brush up the old writing-an-alsa-driver
2018-10-18 10:30:01 +02:00
sparc
sphinx
sphinx-static
docs: improve readability for people with poorer eyesight
2018-10-07 09:16:50 -06:00
spi
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
sysctl
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
target
thermal
timers
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
trace
Char/Misc driver patches for 4.20-rc1
2018-10-26 09:11:43 -07:00
translations
This was a moderately busy cycle for docs, with the usual collection of
2018-08-14 14:29:31 -07:00
usb
userspace-api
virtual
KVM updates for v4.20
2018-10-25 17:57:35 -07:00
vm
slub: extend slub debug to handle multiple slabs
2018-10-26 16:25:19 -07:00
w1
Drop all 00-INDEX files from Documentation/
2018-09-09 15:08:58 -06:00
watchdog
wimax
x86
mm: remove references to vm_insert_pfn()
2018-10-26 16:25:20 -07:00
xtensa
.gitignore
atomic_bitops.txt
atomic_t.txt
bt8xxgpio.txt
btmrvl.txt
bus-virt-phys-mapping.txt
Changes
clearing-warn-once.txt
CodingStyle
conf.py
This is a fairly typical cycle for documentation. There's some welcome
2018-10-24 18:01:11 +01:00
cpu-load.txt
cputopology.txt
crc32.txt
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt
dell_rbu.txt
digsig.txt
DMA-API-HOWTO.txt
DMA-API.txt
DMA-attributes.txt
DMA-ISA-LPC.txt
docutils.conf
dontdiff
efi-stub.txt
efi_stub: update documentation on dtb= parameter
2018-09-09 14:46:44 -06:00
eisa.txt
flexible-arrays.txt
futex-requeue-pi.txt
gcc-plugins.txt
highuid.txt
hw_random.txt
hwspinlock.txt
index.rst
docs: tidy up TOCs and refs to license-rules.rst
2018-08-31 16:50:50 -06:00
Intel-IOMMU.txt
intel_txt.txt
io-mapping.txt
io_ordering.txt
iostats.txt
IPMI.txt
IRQ-affinity.txt
IRQ-domain.txt
IRQ.txt
irqflags-tracing.txt
isa.txt
isapnp.txt
kernel-per-CPU-kthreads.txt
doc: Update removal of RCU-bh/sched update machinery
2018-08-30 10:59:48 -07:00
kobject.txt
kprobes.txt
kref.txt
ldm.txt
lockup-watchdogs.txt
logo.gif
logo.txt
lsm.txt
lzo.txt
mailbox.txt
Makefile
memory-barriers.txt
locking/memory-barriers: Replace smp_cond_acquire() with smp_cond_load_acquire()
2018-10-02 10:28:05 +02:00
men-chameleon-bus.txt
nommu-mmap.txt
ntb.txt
numastat.txt
padata.txt
parport-lowlevel.txt
percpu-rw-semaphore.txt
phy.txt
pi-futex.txt
pnp.txt
preempt-locking.txt
Documentation: preempt-locking: Use better example
2018-10-12 11:35:47 -06:00
pwm.txt
rbtree.txt
remoteproc.txt
rfkill.txt
robust-futex-ABI.txt
robust-futexes.txt
rpmsg.txt
rtc.txt
SAK.txt
sgi-ioc4.txt
siphash.txt
SM501.txt
smsc_ece1099.txt
speculation.txt
static-keys.txt
SubmittingPatches
svga.txt
switchtec.txt
NTB: switchtec_ntb: Update switchtec documentation with prerequisites for NTB
2018-10-11 11:28:53 -05:00
sync_file.txt
tee.txt
this_cpu_ops.txt
unaligned-memory-access.txt
vfio-mediated-device.txt
vfio.txt
video-output.txt
xillybus.txt
xz.txt
zorro.txt