login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
19
Re: [patch 13/28] fs: dcache scale d_unhashed
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Tim Pepper
Subject:
Re: [patch 13/28] fs: dcache scale d_unhashed
Date: Friday, November 19, 2010 - 12:41 pm
On Tue, Nov 16, 2010 at 6:09 AM, Nick Piggin <npiggin@kernel.dk> wrote:
quoted text
> @@ -1797,7 +1822,10 @@ static void d_move_locked(struct dentry > /* > * XXXX: do we really need to take target->d_lock? > */ > - if (target < dentry) { > + if (d_ancestor(dentry, target)) { > + spin_lock(&dentry->d_lock); > + spin_lock_nested(&target->d_lock, DENTRY_D_LOCK_NESTED); > + } else if (d_ancestor(target, dentry) || target < dentry) { > spin_lock(&target->d_lock); > spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); > } else {
This is the first hunk out of the series where I feel like reading the new code makes me say "ugh". --
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 00/28] [rfc] dcache scaling part 1
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 01/28] fs: d_validate fixes
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 02/28] kernel: kmem_ptr_validate considered harmful
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 03/28] fs: dcache documentation cleanup
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 06/28] jfs: dont overwrite dentry name in d_revalidate
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 07/28] fs: change d_compare for rcu-walk
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 09/28] hostfs: simplify locking
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 10/28] fs: dcache scale hash
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 11/28] fs: dcache scale lru
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 12/28] fs: dcache scale dentry refcount
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 13/28] fs: dcache scale d_unhashed
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 14/28] fs: dcache scale subdirs
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 15/28] fs: scale inode alias list
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 16/28] fs: Use rename lock and RCU for multi-step o ...
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 17/28] fs: increase d_name lock coverage
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 18/28] fs: dcache remove dcache_lock
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 19/28] fs: dcache avoid starvation in dcache multi- ...
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 20/28] fs: dcache reduce dput locking
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 21/28] fs: dcache reduce locking in d_alloc
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 22/28] fs: dcache reduce dcache_inode_lock
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 23/28] fs: dcache rationalise dget variants
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 24/28] fs: dcache reduce d_parent locking
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 25/28] fs: dcache reduce prune_one_dentry locking
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 26/28] fs: reduce dcache_inode_lock width in lru sc ...
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 27/28] fs: use RCU in shrink_dentry_list to reduce ...
, Nick Piggin
, (Tue Nov 16, 7:09 am)
[patch 28/28] fs: consolidate dentry kill sequence
, Nick Piggin
, (Tue Nov 16, 7:09 am)
Re: [patch 04/28] fs: change d_delete semantics
, Tim Pepper
, (Tue Nov 16, 5:16 pm)
Re: [patch 07/28] fs: change d_compare for rcu-walk
, Tim Pepper
, (Tue Nov 16, 5:44 pm)
Re: [patch 08/28] fs: change d_hash for rcu-walk
, Tim Pepper
, (Tue Nov 16, 5:50 pm)
Re: [patch 00/28] [rfc] dcache scaling part 1
, Dave Chinner
, (Tue Nov 16, 7:12 pm)
Re: [patch 01/28] fs: d_validate fixes
, Andi Kleen
, (Wed Nov 17, 3:44 am)
Re: [patch 00/28] [rfc] dcache scaling part 1
, Andi Kleen
, (Wed Nov 17, 3:56 am)
Re: [patch 00/28] [rfc] dcache scaling part 1
, Nick Piggin
, (Wed Nov 17, 4:19 am)
Re: [patch 01/28] fs: d_validate fixes
, David Miller
, (Thu Nov 18, 1:51 pm)
Re: [patch 01/28] fs: d_validate fixes
, Nick Piggin
, (Thu Nov 18, 10:01 pm)
Re: [patch 13/28] fs: dcache scale d_unhashed
, Tim Pepper
, (Fri Nov 19, 12:41 pm)
Re: [patch 14/28] fs: dcache scale subdirs
, Tim Pepper
, (Fri Nov 19, 12:41 pm)
Re: [patch 15/28] fs: scale inode alias list
, Tim Pepper
, (Fri Nov 19, 12:41 pm)
Re: [patch 16/28] fs: Use rename lock and RCU for multi-st ...
, Tim Pepper
, (Fri Nov 19, 12:42 pm)
Re: [patch 00/28] [rfc] dcache scaling part 1
, Tim Pepper
, (Fri Nov 19, 12:43 pm)
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 `;'
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Linus Torvalds
Linux 2.6.34-rc4
Mingming Cao
Re: [RFC 1/4] Large Blocksize support for Ext2/3/4
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Adeodato
Bazaar's patience diff as GIT_EXTERNAL_DIFF
Denis Bueno
Git clone error
Johannes Schindelin
Re: [PATCH 2/4] Add functions get_relative_cwd() and is_inside_dir()
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
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate