login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
31
Re: Switching TestSetPageLocked to trylock_page
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Peter Zijlstra
Subject:
Re: Switching TestSetPageLocked to trylock_page
Date: Thursday, July 31, 2008 - 2:33 am
On Thu, 2008-07-31 at 17:26 +1000, Nick Piggin wrote:
quoted text
> Hi, > > I'm wondering if I could get a patch merged which changes all > TestSetPageLocked and replaces them with trylock_page? > > It would be done so there are no functional changes. > > The reason I want to (aside from having a slightly more > intuitive API), is to facilitate the implementation of lockdep > on page lock, and also to use lock semantics bitops for the > lock rather than the big-hammer barriers that come with > test_and_set_bit. > > The lock bitops stuff is one of the parts of my patchset to speed > up page lock functions (which results in nearly 50% faster > pagecache throughput on my G5, and even slightly faster on x86)... > > Anyway, I remember you said these kinds of changes are appropriate > for just after -rc1, and I agree it shouldn't cause much pain. > > Fixing up patch conflicts is literally a matter of > s/!TestSetPageLocked/trylock_page > s/TestSetPageLocked/!trylock_page > > Thoughts?
I'm all for it ;-) --
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:
Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Thu Jul 31, 12:26 am)
Re: Switching TestSetPageLocked to trylock_page
, KOSAKI Motohiro
, (Thu Jul 31, 12:38 am)
Re: Switching TestSetPageLocked to trylock_page
, Peter Zijlstra
, (Thu Jul 31, 2:33 am)
Re: Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Mon Aug 4, 8:14 pm)
Re: Switching TestSetPageLocked to trylock_page
, Linus Torvalds
, (Mon Aug 4, 8:28 pm)
Re: Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Mon Aug 4, 8:41 pm)
Re: Switching TestSetPageLocked to trylock_page
, Andrew Morton
, (Mon Aug 4, 8:57 pm)
Re: Switching TestSetPageLocked to trylock_page
, Benjamin Herrenschmidt
, (Mon Aug 4, 9:01 pm)
Re: Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Mon Aug 4, 9:09 pm)
Re: Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Mon Aug 4, 9:18 pm)
Re: Switching TestSetPageLocked to trylock_page
, Linus Torvalds
, (Mon Aug 4, 9:25 pm)
Re: Switching TestSetPageLocked to trylock_page
, Linus Torvalds
, (Mon Aug 4, 9:32 pm)
Re: Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Mon Aug 4, 9:44 pm)
Re: Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Mon Aug 4, 9:46 pm)
Re: Switching TestSetPageLocked to trylock_page
, Linus Torvalds
, (Mon Aug 4, 9:57 pm)
Re: Switching TestSetPageLocked to trylock_page
, Nick Piggin
, (Mon Aug 4, 10:09 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Andy Walls
Re: [PATCH 11/32] v4l/cx18: update workqueue usage
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
Greg Kroah-Hartman
[PATCH 09/36] driver core: register_memory/unregister_memory clean ups and bugfix
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (8018): Add em2860 chip ID
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
imxfb: Fix margin settings
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
openbsd-misc
:
Stas Miasnikou
Re: Another question: device naming convention
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Community First Financial
Teacher A+ Loan
Jan Stary
Re: audio recording levels
Andrej Elizarov
Re: Web Browsers
Colocation donated by:
Syndicate