login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
27
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented with irqs enabled
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Stephen Rothwell
Subject:
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented with irqs enabled
Date: Tuesday, April 27, 2010 - 12:32 am
Hi Frederic, On Thu, 15 Apr 2010 15:37:50 +0200 Frederic Weisbecker <fweisbec@gmail.com> wrote:
quoted text
> > When a path restore the flags while irqs are already enabled, we > update the per cpu var redundant_hardirqs_on in a racy fashion > and debug_atomic_inc() warns about this situation. > > In this particular case, we need to explictly disable the irqs before > updating this stat var in order to update it safely. > > Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> > Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> > Cc: Peter Zijlstra <peterz@infradead.org> > Cc: David Miller <davem@davemloft.net> > Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> > --- > kernel/lockdep.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-)
Ping? Any movement on this? -- Cheers, Stephen Rothwell
sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
linux-next: boot failure after merge of the final tree (ti ...
, Stephen Rothwell
, (Wed Apr 14, 11:12 pm)
Re: linux-next: boot failure after merge of the final tree ...
, Benjamin Herrenschmidt
, (Wed Apr 14, 11:48 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Ingo Molnar
, (Wed Apr 14, 11:49 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, David Miller
, (Wed Apr 14, 11:55 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Ingo Molnar
, (Thu Apr 15, 12:32 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Stephen Rothwell
, (Thu Apr 15, 3:04 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Frederic Weisbecker
, (Thu Apr 15, 6:00 am)
[PATCH] lockdep: Fix redundant_hardirqs_on incremented wit ...
, Frederic Weisbecker
, (Thu Apr 15, 6:37 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Ingo Molnar
, (Thu Apr 15, 7:03 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Frederic Weisbecker
, (Thu Apr 15, 10:15 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Frederic Weisbecker
, (Thu Apr 15, 10:24 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Ingo Molnar
, (Thu Apr 15, 10:39 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Benjamin Herrenschmidt
, (Thu Apr 15, 6:51 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Benjamin Herrenschmidt
, (Thu Apr 15, 6:56 pm)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Peter Zijlstra
, (Fri Apr 16, 3:38 am)
Re: linux-next: PowerPC WARN_ON_ONCE() after merge of the ...
, Frederic Weisbecker
, (Fri Apr 16, 5:32 am)
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented ...
, Stephen Rothwell
, (Tue Apr 27, 12:32 am)
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented ...
, Frederic Weisbecker
, (Tue Apr 27, 11:07 am)
Re: [PATCH] lockdep: Fix redundant_hardirqs_on incremented ...
, Stephen Rothwell
, (Wed Apr 28, 12:12 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Christoph Lameter
[PATCH 1/2] Make page->private usable in compound pages V1
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Jesse Barnes
Re: PCI probing changes
git
:
Jakub Narebski
Re: GSoC 2008 - Mentors Wanted!
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Andy Parkins
git-fetch fails with error code 128
Marcus Griep
Re: [PATCH 1/3] Git.pm: Add faculties to allow temp files to be cached
Junio C Hamano
Re: [JGIT PATCH 2/2] Decrease the fetch pack client buffer to the lower minimum
git-commits-head
:
Linux Kernel Mailing List
ARM: 5970/1: nomadik-gpio: fix spinlock usage
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
linux-netdev
:
Eric Dumazet
[PATCH] net: ALIGN/PTR_ALIGN cleanup in alloc_netdev_mq()/netdev_priv()
Patrick McHardy
[NET_SCHED]: sch_ingress: remove netfilter support
Rose, Gregory V
RE: __bad_udelay in network driver breaks build
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
ropers
Re: Real men don't attack straw men
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Colocation donated by:
Syndicate