+ kernel-watchdogc-touch_softlockup_watchdog-use-raw_cpu_write.patch added to -mm tree
Subject: + kernel-watchdogc-touch_softlockup_watchdog-use-raw_cpu_write.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 16 Apr 2014 12:12:51 -0700
The patch titled
Subject: kernel/watchdog.c:touch_softlockup_watchdog(): use raw_cpu_write()
has been added to the -mm tree. Its filename is
kernel-watchdogc-touch_softlockup_watchdog-use-raw_cpu_write.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-watchdogc-touch_softlockup_watchdog-use-raw_cpu_write.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-watchdogc-touch_softlockup_watchdog-use-raw_cpu_write.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: kernel/watchdog.c:touch_softlockup_watchdog(): use raw_cpu_write()
BUG: using __this_cpu_write() in preemptible [00000000] code: systemd-udevd/497 caller is __this_cpu_preempt_check+0x13/0x20 CPU: 3 PID: 497 Comm: systemd-udevd Tainted: G W 3.15.0-rc1 #9 Hardware name: Hewlett-Packard HP EliteBook 8470p/179B, BIOS 68ICF Ver. F.02 04/27/2012 ffffffff81a14db5 ffff88022c80b8e0 ffffffff81604ba4 0000000000000003 ffff88022c80b908 ffffffff81313431 0000000000000000 0000000000000032 00000000000003e8 ffff88022c80b918 ffffffff81313473 ffff88022c80b928 Call Trace: [<ffffffff81604ba4>] dump_stack+0x4e/0x7a [<ffffffff81313431>] check_preemption_disabled+0xe1/0xf0 [<ffffffff81313473>] __this_cpu_preempt_check+0x13/0x20 [<ffffffff810e4eb8>] touch_nmi_watchdog+0x28/0x40
---
kernel/watchdog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
kernel/watchdog.c renamed from kernel/watchdog.c~kernel-watchdogc-touch_softlockup_watchdog-use-raw_cpu_write +5 -1
@@ -138,7 +138,11 @@ static void __touch_watchdog(void)void touch_softlockup_watchdog (void ) { -__this_cpu_write (watchdog_touch_ts,0 ); +/* +* Preemption can be enabled. It doesn't matter which CPU's timestamp +* gets zeroed here, so use the raw_ operation. +*/ +raw_cpu_write (watchdog_touch_ts,0 ); }EXPORT_SYMBOL (touch_softlockup_watchdog);
_
Patches currently in -mm which might be from [email protected] are
arch-alpha-kernel-systblss-remove-debug-check.patch
i-need-old-gcc.patch
maintainers-akpm-maintenance.patch kernel-watchdogc-touch_softlockup_watchdog-use-raw_cpu_write.patch wait-explain-the-shadowing-and-type-inconsistencies.patch mips-export-flush_icache_range-fix.patch input-route-kbd-leds-through-the-generic-leds-layer.patch ocfs2-do-not-return-dlm_migrate_response_mastery_ref-to-avoid-endlessloop-during-umount.patch mm.patch mm-hugetlbfs-fix-rmapping-for-anonymous-hugepages-with-page_pgoff-v3-fix.patch pagewalk-update-page-table-walker-core-fix-end-address-calculation-in-walk_page_range-fix.patch pagemap-redefine-callback-functions-for-page-table-walker-fix.patch pagewalk-remove-argument-hmask-from-hugetlb_entry-fix-fix.patch mm-introduce-do_shared_fault-and-drop-do_fault-fix-fix.patch mm-compactionc-isolate_freepages_block-small-tuneup.patch do_shared_fault-check-that-mmap_sem-is-held.patch init-mainc-dont-use-pr_debug.patch init-mainc-add-initcall_blacklist-kernel-parameter-fix.patch
linux-next.patch
linux-next-git-rejects.patch
drivers-gpio-gpio-zevioc-fix-build.patch
ufs-sb-mutex-merge-mutex_destroy.patch
debugging-keep-track-of-page-owners.patch
journal_add_journal_head-debug.patch
journal_add_journal_head-debug-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch mutex-subsystem-synchro-test-module.patch
slab-leaks3-default-y.patch
put_bh-debug.patch