Re: [PATCH 06/12] mm: remove raw SetPageLocked() usage

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: lkml <linux-kernel@...>, <linux-arch@...>, Zach Brown <zach.brown@...>, Ingo Molnar <mingo@...>, <akpm@...>
Date: Friday, September 28, 2007 - 4:22 am

  		error = radix_tree_insert(&mapping->page_tree, offset, 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.

-
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)