History

Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull core fixes from Thomas Gleixner: "A small set of core updates: - Make the watchdog respect the selected CPU mask again. That was broken by the rework of the watchdog thread management and caused inconsistent state and NMI watchdog being unstoppable. - Ensure that the objtool build can find the libelf location. - Remove dead kcore stub code" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: watchdog: Respect watchdog cpumask on CPU hotplug objtool: Query pkg-config for libelf location proc/kcore: Remove unused kclist_add_remap()

Linus Torvalds committed 7 years ago

Commit f78b5be2 parents 6536c5f 7dd47614 files · +12 −16Browse files

Showing the changes to kernel (1 of 4 files). Show all

Unified · Split

kernel/watchdog.c+4−2
@@ -554,13 +554,15 @@ static void softlockup_start_all(void) · 553 unmodified lines
554554
555555 int lockup_detector_online_cpu(unsigned int cpu)
556556 {
557− watchdog_enable(cpu);
557+ if (cpumask_test_cpu(cpu, &watchdog_allowed_mask))
558+ watchdog_enable(cpu);
558559 return 0;
559560 }
560561
561562 int lockup_detector_offline_cpu(unsigned int cpu)
562563 {
563− watchdog_disable(cpu);
564+ if (cpumask_test_cpu(cpu, &watchdog_allowed_mask))
565+ watchdog_disable(cpu);
564566 return 0;
565567 }
566568

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t