login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
1
Re: [PATCH 09/10] Integrate the ridr code into IPC code
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Tim Pepper
Subject:
Re: [PATCH 09/10] Integrate the ridr code into IPC code
Date: Wednesday, April 30, 2008 - 9:32 pm
On Tue 29 Apr at 16:33:13 +0200
Nadia.Derbey@bull.net
said:
quoted text
> [PATCH 09/10] > > This patche makes the ipc ode use the ridr API.
Superfluous except...
quoted text
> @@ -699,18 +695,13 @@ struct kern_ipc_perm *ipc_lock(struct ip > struct kern_ipc_perm *out; > int lid = ipcid_to_idx(id); > > - down_read(&ids->rw_mutex); > - > rcu_read_lock(); > - out = idr_find(&ids->ipcs_idr, lid); > + out = ridr_find(&ids->ipcs_ridr, lid); > if (out == NULL) { > rcu_read_unlock(); > - up_read(&ids->rw_mutex); > return ERR_PTR(-EINVAL); > } > > - up_read(&ids->rw_mutex); > -
...the removal of the rw_mutex down/up_read(). -- Tim Pepper <lnxninja@linux.vnet.ibm.com> IBM Linux Technology Center --
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:
[PATCH 09/10] Integrate the ridr code into IPC code
, Nadia.Derbey
, (Tue Apr 29, 7:33 am)
Re: [PATCH 09/10] Integrate the ridr code into IPC code
, Tim Pepper
, (Wed Apr 30, 9:32 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Josef Sipek
Re: [PATCH 01/24] Unionfs: Documentation
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Oleg Nesterov
Re: init's children list is long and slows reaping children.
Randy Dunlap
Re: mmotm 2010-06-11-16-40 uploaded
Pete Clements
2.6.20-git8 fails compile -- net/built-in.o __ipv6_addr_type
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Anuj Gakhar
Git Architecture Question
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Gerrit Renker
v2 [PATCH 1/4] dccp: Limit feature negotiation to connection setup phase
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
[ARM] dma: use new dmabounce_sync_for_xxx() for dma_sync_single_xxx()
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Jacob Yocom-Piatt
Re: Same shit all over again
Colocation donated by:
Syndicate