login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
September
»
22
Re: [PATCH] avoid second smp_processor_id() call in __touch_watchdog
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Don Zickus
Subject:
Re: [PATCH] avoid second smp_processor_id() call in __touch_watchdog
Date: Wednesday, September 22, 2010 - 7:41 am
On Wed, Sep 22, 2010 at 12:00:12PM +0300, Sergey Senozhatsky wrote:
quoted text
> Hello, > > Per our previous conversation: > > Andrew Morton wrote: > > Fair enough, although strictly speaking this should be done in a > > separate and later patch. > > > > > Avoid double smp_processor_id() call in __touch_watchdog (smp_processor_id() > itself and later call in __get_cpu_var()) > > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Thanks! I'll apply it. Cheers, Don
quoted text
> > --- > > diff --git a/kernel/watchdog.c b/kernel/watchdog.c > index 7f9c3c5..03d97c5 100644 > --- a/kernel/watchdog.c > +++ b/kernel/watchdog.c > @@ -116,8 +116,7 @@ static unsigned long get_sample_period(void) > static void __touch_watchdog(void) > { > int this_cpu = smp_processor_id(); > - > - __get_cpu_var(watchdog_touch_ts) = get_timestamp(this_cpu); > + per_cpu(watchdog_touch_ts, this_cpu) = get_timestamp(this_cpu); > } > > void touch_softlockup_watchdog(void) >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
fix BUG: using smp_processor_id() in touch_nmi_watchdog an ...
, Sergey Senozhatsky
, (Fri Aug 13, 3:21 am)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Peter Zijlstra
, (Mon Aug 16, 1:22 am)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Don Zickus
, (Mon Aug 16, 6:34 am)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Peter Zijlstra
, (Mon Aug 16, 6:46 am)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Yong Zhang
, (Mon Aug 16, 7:06 am)
[PATCH] fix BUG using smp_processor_id() in touch_nmi_watc ...
, Sergey Senozhatsky
, (Mon Aug 16, 7:08 am)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Don Zickus
, (Mon Aug 16, 7:12 am)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Peter Zijlstra
, (Mon Aug 16, 7:29 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Don Zickus
, (Mon Aug 16, 7:30 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Frederic Weisbecker
, (Mon Aug 16, 7:59 pm)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Yong Zhang
, (Mon Aug 16, 8:16 pm)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Yong Zhang
, (Mon Aug 16, 9:27 pm)
[PATCH] fix BUG using smp_processor_id() in touch_nmi_watc ...
, Sergey Senozhatsky
, (Tue Aug 17, 12:56 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Sergey Senozhatsky
, (Tue Aug 17, 1:39 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Yong Zhang
, (Tue Aug 17, 2:05 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Sergey Senozhatsky
, (Tue Aug 17, 2:24 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Yong Zhang
, (Tue Aug 17, 2:37 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Sergey Senozhatsky
, (Tue Aug 17, 3:28 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Sergey Senozhatsky
, (Tue Aug 17, 3:39 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Yong Zhang
, (Tue Aug 17, 5:48 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Yong Zhang
, (Tue Aug 17, 5:56 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Don Zickus
, (Tue Aug 17, 6:13 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Frederic Weisbecker
, (Tue Aug 17, 7:48 pm)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Andrew Morton
, (Wed Aug 18, 12:33 pm)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Andrew Morton
, (Wed Aug 18, 1:01 pm)
Re: fix BUG: using smp_processor_id() in touch_nmi_watchdo ...
, Cyrill Gorcunov
, (Wed Aug 18, 2:44 pm)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Don Zickus
, (Wed Aug 18, 7:27 pm)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Don Zickus
, (Thu Aug 19, 7:57 pm)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Andrew Morton
, (Thu Aug 19, 8:42 pm)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Don Zickus
, (Fri Aug 20, 5:34 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Yong Zhang
, (Fri Aug 20, 8:02 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Maxim Levitsky
, (Thu Aug 26, 3:14 am)
Re: [PATCH] fix BUG using smp_processor_id() in touch_nmi_ ...
, Don Zickus
, (Thu Aug 26, 7:40 am)
acpi_os_stall() and touch_nmi_watchdog() (was Re: [PATCH] ...
, Len Brown
, (Thu Aug 26, 10:17 am)
[PATCH] avoid second smp_processor_id() call in __touch_wa ...
, Sergey Senozhatsky
, (Wed Sep 22, 2:00 am)
Re: [PATCH] avoid second smp_processor_id() call in __touc ...
, Don Zickus
, (Wed Sep 22, 7:41 am)
Re: [PATCH] avoid second smp_processor_id() call in __touc ...
, Frederic Weisbecker
, (Wed Sep 22, 9:27 am)
Re: [PATCH] avoid second smp_processor_id() call in __touc ...
, Peter Zijlstra
, (Wed Sep 22, 9:39 am)
Re: [PATCH] avoid second smp_processor_id() call in __touc ...
, Frederic Weisbecker
, (Wed Sep 22, 9:47 am)
Re: [PATCH] avoid second smp_processor_id() call in __touc ...
, Don Zickus
, (Fri Sep 24, 12:34 pm)
Re: [PATCH] avoid second smp_processor_id() call in __touc ...
, Sergey Senozhatsky
, (Sat Sep 25, 10:43 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Matthew Garrett
Re: [PATCH] Enable speedstep for sonoma processors.
Mauro Carvalho Chehab
Re: [PATCH 1/2] media: Add timberdale video-in driver
Peter Zijlstra
[PATCH 23/30] netvm: skb processing
Greg Kroah-Hartman
[PATCH 21/28] cgroupfs: create /sys/fs/cgroup to mount cgroupfs on
git
:
Jan Hudec
Re: GIT push to sftp (feature request)
Steffen Prohaska
[PATCH 0/4] core.ignorecase
Johannes Schindelin
Re: Git checkout preserve timestamp?
Linus Torvalds
[PATCH 1/7] Make unpack_trees_options bit flags actual bitfields
Johan Herland
Re: What's cooking in git.git (Oct 2010, #01; Wed, 13)
linux-netdev
:
David Miller
Re: [PATCH 1/3] f_phonet: dev_kfree_skb instead of dev_kfree_skb_any in TX callback
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Jan Engelhardt
Re: [PATCH] Fix netfilter xt_time's time_mt()'s use of do_div()
Herbert Xu
Re: [RFC PATCH 00/17] virtual-bus
Jeff Kirsher
Re: [net-next-2.6 PATCH] e1000e: don't inadvertently re-set INTX_DISABLE
git-commits-head
:
Linux Kernel Mailing List
ALSA: hda - Enable beep on Realtek codecs with PCI SSID override
Linux Kernel Mailing List
Use path_put() in a few places instead of {mnt,d}put()
Linux Kernel Mailing List
mv643xx_eth: use sw csum for big packets
Linux Kernel Mailing List
arm: fix HAVE_CLK merge goof
Linux Kernel Mailing List
arm: convert pcm037 platform to use smsc911x
freebsd-current
:
David Wolfskill
"interrupt storm..."; seems associated with an0 NIC
Andriy Gapon
Re: letting glabel recognise a media change
Garrett Cooper
Re: Only display ACPI bootmenu key if ACPI is present
Pyun YongHyeon
CFT: msk(4) Rx checksum offloading support
FreeBSD Tinderbox
[head tinderbox] failure on sparc64/sparc64
Colocation donated by:
Syndicate