+ kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2.patch added to -mm tree
Subject: + kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2.patch added to -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 02 May 2014 15:34:28 -0700
The patch titled
Subject: kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2
has been added to the -mm tree. Its filename is
kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2.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: Jan Moskyto Matejka <[email protected]>
Subject: kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2
This commit fixes this warning:
kernel/watchdog.c: In function `watchdog_timer_fn':kernel/watchdog.c:368:4: warning: `smp_mb__after_clear_bit' is deprecated (declared at include/linux/bitops.h:48) [-Wdeprecated-declarations]
smp_mb__after_clear_bit();
That code was introduced in commit 90e6b763ca8a5eb739e59489f42d45e13431d157 ("kernel/watchdog.c: print traces for all cpus on lockup detection") and then merged with another branch containing commit febdbfe8a91ce0d11939d4940b592eb0dba8d663 ("arch: Prepare for smp_mb__{before,after}_atomic()") which deprecates the smp_mb__after_clear_bit() call in favour of smp_mb__after_atomic().
---
kernel/watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/watchdog.c renamed from kernel/watchdog.c~kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2 +1 -1
@@ -363,7 +363,7 @@ static enum hrtimer_restart watchdog_timclear_bit (0 , &soft_lockup_nmi_warn);/* Barrier to sync with other cpus */ -smp_mb__after_clear_bit (); +smp_mb__after_atomic (); }if (softlockup_panic)
_
Patches currently in -mm which might be from [email protected] are
linux-next.patch kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2.patch