login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
3
Re: [PATCH -mm1] Remove useless calls to INIT_RCU_HEAD in the idr code (was Scalability requirements for sysv ipc - v3)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Paul E. McKenney
Subject:
Re: [PATCH -mm1] Remove useless calls to INIT_RCU_HEAD in the idr code (was Scalability requirements for sysv ipc - v3)
Date: Tuesday, June 3, 2008 - 5:17 am
On Tue, Jun 03, 2008 at 08:56:34AM +0200,
Nadia.Derbey@bull.net
wrote:
quoted text
> Since I didn't get any answer yesterday, (see
http://lkml.org/lkml/2008/6/2/20
) > here's the patch after Paul's review. > > > Regards, > Nadia > > [ PATCH 01/01 ] > > This is a trivial patch that removes unneeded calls to INIT_RCU_HEAD() in the > idr api code. > > This patch applies to 2.6.26-rc2-mm1.
Looks good to me! Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
quoted text
> Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net> > > --- > lib/idr.c | 3 --- > 1 file changed, 3 deletions(-) > > Index: linux-2.6.26-rc2-mm1/lib/idr.c > =================================================================== > --- linux-2.6.26-rc2-mm1.orig/lib/idr.c 2008-05-29 13:09:01.000000000 +0200 > +++ linux-2.6.26-rc2-mm1/lib/idr.c 2008-06-02 09:32:46.000000000 +0200 > @@ -185,7 +185,6 @@ static int sub_alloc(struct idr *idp, in > new = get_from_free_list(idp); > if (!new) > return -1; > - INIT_RCU_HEAD(&new->rcu_head); > rcu_assign_pointer(p->ary[m], new); > p->count++; > } > @@ -211,7 +210,6 @@ build_up: > if (unlikely(!p)) { > if (!(p = get_from_free_list(idp))) > return -1; > - INIT_RCU_HEAD(&p->rcu_head); > layers = 1; > } > /* > @@ -239,7 +237,6 @@ build_up: > } > new->ary[0] = p; > new->count = 1; > - INIT_RCU_HEAD(&new->rcu_head); > if (p->bitmap == IDR_FULL) > __set_bit(0, &new->bitmap); > p = new; > > --
--
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 -mm1] Remove useless calls to INIT_RCU_HEAD in the ...
, Nadia.Derbey
, (Mon Jun 2, 11:56 pm)
Re: [PATCH -mm1] Remove useless calls to INIT_RCU_HEAD in ...
, Paul E. McKenney
, (Tue Jun 3, 5:17 am)
Navigation
Create content
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
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
David Miller
Re: 'global' rq->clock
Borislav Petkov
2.6.23-rc1: no setup signature found...
git
:
Len Brown
Re: fatal: unable to create '.git/index': File exists
Oliver Hoffmann
git init --bare versus git --bare init
Sam Vilain
Re: RFC: Flat directory for notes, or fan-out? Both!
Linus Torvalds
Re: git-diff should not fire up $PAGER, period!
Jonathan Nieder
Re: git-daemon serving repos with repo.git/git-daemon-export-ok
linux-netdev
:
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Trond Myklebust
[PATCH] NET: Add the helper kernel_sock_shutdown()
Ron Mercer
[net-next PATCH 1/2] qlge: Add firmware info to ethtool get regs.
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Gilles Chehade
Re: Longest Uptime?
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
V4L/DVB: xc3028: fix regression in firmware loading time
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
korina: do not use IRQF_SHARED with IRQF_DISABLED
Colocation donated by:
Syndicate