login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
28
Re: [PATCH 06/12] mm: remove raw SetPageLocked() usage
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Christoph Hellwig <hch@...>
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: lkml <linux-kernel@...>, <linux-arch@...>, Zach Brown <zach.brown@...>, Ingo Molnar <mingo@...>, <akpm@...>
Subject:
Re: [PATCH 06/12] mm: remove raw SetPageLocked() usage
Date: Friday, September 28, 2007 - 4:22 am
error = radix_tree_insert(&mapping->page_tree, offset, page);
quoted text
> if (!error) { > page_cache_get(page);
I don't think we want an unchecked trylock_page without a comment explaining it. I'd go as far as saying trylock_page should get a __must_check attribute, and we'll need a dummy variable to actually ignore 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:
[PATCH 06/12] mm: remove raw SetPageLocked() usage
, Peter Zijlstra
, (Fri Sep 28, 3:42 am)
Re: [PATCH 06/12] mm: remove raw SetPageLocked() usage
, Christoph Hellwig
, (Fri Sep 28, 4:22 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
clameter
[31/36] Large Blocksize: Core piece
David Woodhouse
Re: [GIT *] Allow request_firmware() to be satisfied from in-kernel, use it in mor...
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
KOSAKI Motohiro
[bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
8 users
and
936 guests
online.
Online users
zeekec
glowinthedarkyh
autoinsurancrfb
NeilK
dillmankaratei
BestWeddingAnn
mattressdaytona
herpessymptoms
Syndicate