login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
20
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Jarek Poplawski <jarkao2@...>
To: Nadia Derbey <Nadia.Derbey@...>
Cc: Andrew Morton <akpm@...>, Alexey Dobriyan <adobriyan@...>, <linux-kernel@...>
Subject:
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
Date: Thursday, September 20, 2007 - 4:21 am
On Thu, Sep 20, 2007 at 09:28:21AM +0200, Jarek Poplawski wrote:
quoted text
> On Thu, Sep 20, 2007 at 08:24:58AM +0200, Nadia Derbey wrote:
...
quoted text
> > Before Calling msg_unlock() they call ipc_rcu_getref() that increments a > > refcount in the rcu header for the msg structure. This guarantees that > > the the structure won't be freed before they relock it. Once the > > structure is relocked by ipc_lock_by_ptr(), they do the symmetric > > operation i.e. ipc_rcu_putref().
...
quoted text
> which seems to suggest "out" is an RCU protected pointer, so, I > thought these refcounts were for something else. But, after looking > at how it's used it turns out to be ~90% wrong: probably 9 out of 10 > places use refcouning around this, so, these rcu_read_locks() don't > work here at all. So, probably I miss something again, but IMHO, > these rcu_read_locks/unlocks could be removed here or in
... ...So I missed it again: after all this RCU protection works before and after refcounting. Sorry, Jarek P. -
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:
2.6.23-rc6-mm1: IPC: sleeping function called ...
, Alexey Dobriyan
, (Tue Sep 18, 5:17 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Andrew Morton
, (Tue Sep 18, 6:27 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Tue Sep 18, 10:55 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Wed Sep 19, 10:07 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Thu Sep 20, 2:24 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Thu Sep 20, 3:28 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Thu Sep 20, 4:52 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Thu Sep 20, 9:19 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Thu Sep 20, 9:08 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Fri Sep 21, 4:44 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Mon Sep 24, 5:50 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Tue Sep 25, 7:47 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Wed Sep 26, 2:13 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Fri Sep 21, 6:11 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Fri Sep 21, 7:03 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Mon Sep 24, 2:54 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Mon Sep 24, 4:18 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Mon Sep 24, 3:43 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Fri Sep 21, 7:15 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Thu Sep 20, 9:26 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Jarek Poplawski
, (Thu Sep 20, 4:21 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Andrew Morton
, (Tue Sep 18, 1:01 pm)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Fri Sep 21, 5:18 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Alexey Dobriyan
, (Tue Sep 18, 6:32 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Andrew Morton
, (Tue Sep 18, 6:17 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Nadia Derbey
, (Tue Sep 18, 6:30 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Andrew Morton
, (Tue Sep 18, 6:34 am)
Re: 2.6.23-rc6-mm1: IPC: sleeping function called ...
, Andrew Morton
, (Tue Sep 18, 5:42 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Dave Hansen
[RFC][PATCH 0/4] kernel-based checkpoint restart
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Eric Paris
[RFC 0/5] [TALPA] Intro to a linux interface for on access scanning
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
1095 guests
online.
Online users
rockytherobott
truthaboutabcxa
womensunderwea
Syndicate