Skip to content

Commit

Permalink
crashkernel: Change maxcpus=1 to nr_cpus=1
Browse files Browse the repository at this point in the history
Use nr_cpus=1 instead of maxcpus=1 in the hope to save some memory.
donald committed Aug 18, 2019
1 parent c331d3d commit 773b249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crashkernel/crashkernel.service
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ ConditionPathExists=/boot/bzImage.crash
StandardOutput=kmsg
StandardError=kmsg
Type=oneshot
ExecStart=/usr/sbin/kexec -p /boot/bzImage.crash --initrd=/boot/grub/initramfs.igz --command-line="root=LABEL=root ro console=ttyS1,115200n8 console=tty0 irqpoll maxcpus=1 reset_devices panic=5 CRASH"
ExecStart=/usr/sbin/kexec -p /boot/bzImage.crash --initrd=/boot/grub/initramfs.igz --command-line="root=LABEL=root ro console=ttyS1,115200n8 console=tty0 irqpoll nr_cpus=1 reset_devices panic=5 CRASH"
ExecStop=/usr/sbin/kexec -p -u
RemainAfterExit=yes

0 comments on commit 773b249

Please sign in to comment.