login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
June
»
15
Re: [PATCH] avoid using smp_processor_id() in preemptible code (nr_iowait_cpu)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Sergey Senozhatsky
Subject:
Re: [PATCH] avoid using smp_processor_id() in preemptible code (nr_iowait_cpu)
Date: Tuesday, June 15, 2010 - 8:31 am
On (06/15/10 18:23), Sergey Senozhatsky wrote:
quoted text
>.... > delta = ktime_sub(now, ts->idle_entrytime); > ts->idle_sleeptime = ktime_add(ts->idle_sleeptime, delta); > if (nr_iowait_cpu(cpu) > 0) > ts->iowait_sleeptime = ktime_add(ts->iowait_sleeptime, delta); > put_cpu(); > ts->idle_entrytime = now; > + ts->idle_active = 0;
^^^^^^ This part is wrong. Sorry.
quoted text
> } > > if (last_update_time) > *last_update_time = ktime_to_us(now); > > }
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Maxim Levitsky
, (Sun Jun 13, 1:33 pm)
BUG: using smp_processor_id() in preemptible code: s2disk
, Sergey Senozhatsky
, (Sun Jun 13, 1:33 pm)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Rafael J. Wysocki
, (Sun Jun 13, 4:36 pm)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Sergey Senozhatsky
, (Mon Jun 14, 7:09 am)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Rafael J. Wysocki
, (Mon Jun 14, 7:23 am)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Arjan van de Ven
, (Mon Jun 14, 7:38 am)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Sergey Senozhatsky
, (Mon Jun 14, 7:54 am)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Arjan van de Ven
, (Mon Jun 14, 8:01 am)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Sergey Senozhatsky
, (Mon Jun 14, 8:17 am)
Re: BUG: using smp_processor_id() in preemptible code: s2disk
, Arjan van de Ven
, (Mon Jun 14, 8:40 pm)
[PATCH] avoid using smp_processor_id() in preemptible code ...
, Sergey Senozhatsky
, (Mon Jun 14, 11:19 pm)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Arjan van de Ven
, (Tue Jun 15, 7:24 am)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Sergey Senozhatsky
, (Tue Jun 15, 7:50 am)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Arjan van de Ven
, (Tue Jun 15, 8:08 am)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Sergey Senozhatsky
, (Tue Jun 15, 8:23 am)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Sergey Senozhatsky
, (Tue Jun 15, 8:31 am)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Sergey Senozhatsky
, (Tue Jun 15, 9:13 am)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Arjan van de Ven
, (Tue Jun 15, 11:05 pm)
Re: [PATCH] avoid using smp_processor_id() in preemptible ...
, Sergey Senozhatsky
, (Wed Jun 16, 2:34 am)
[PATCH] cpuidle: avoid using smp_processor_id() in preempt ...
, Sergey Senozhatsky
, (Wed Jun 16, 11:29 pm)
Re: [PATCH] cpuidle: avoid using smp_processor_id() in pre ...
, Arjan van de Ven
, (Wed Jun 16, 11:43 pm)
Re: [PATCH] cpuidle: avoid using smp_processor_id() in pre ...
, Andrew Morton
, (Wed Jun 16, 11:59 pm)
Re: [PATCH] cpuidle: avoid using smp_processor_id() in pre ...
, Andrew Morton
, (Thu Jun 17, 12:04 am)
Re: [PATCH] cpuidle: avoid using smp_processor_id() in pre ...
, Sergey Senozhatsky
, (Thu Jun 17, 12:34 am)
Re: [PATCH] cpuidle: avoid using smp_processor_id() in pre ...
, Peter Zijlstra
, (Fri Jun 25, 7:39 am)
Re: [PATCH] cpuidle: avoid using smp_processor_id() in pre ...
, Andrew Morton
, (Wed Jun 30, 12:58 pm)
Re: [PATCH] cpuidle: avoid using smp_processor_id() in pre ...
, Sergey Senozhatsky
, (Wed Jun 30, 11:17 pm)
[PATCH] sched: Cure nr_iowait_cpu() users
, Peter Zijlstra
, (Thu Jul 1, 12:07 am)
Re: [PATCH] sched: Cure nr_iowait_cpu() users
, Sergey Senozhatsky
, (Thu Jul 1, 1:18 am)
[tip:sched/urgent] sched: Cure nr_iowait_cpu() users
, tip-bot for Peter Zi ...
, (Thu Jul 1, 1:45 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
Greg Kroah-Hartman
[PATCH 09/36] driver core: register_memory/unregister_memory clean ups and bugfix
Greg Kroah-Hartman
[PATCH 08/36] driver core: memory: semaphore to mutex
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
imxfb: Fix margin settings
Linux Kernel Mailing List
USB: set correct configuration in probe of ti_usb_3410_5052
Linux Kernel Mailing List
KVM: VMX: Clear CR4.VMXE in hardware_disable
openbsd-misc
:
Stas Miasnikou
Re: Another question: device naming convention
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Community First Financial
Teacher A+ Loan
Jan Stary
Re: audio recording levels
Andrej Elizarov
Re: Web Browsers
Colocation donated by:
Syndicate