lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 05/45] FS-Cache: Release page->private after failed readahead [ver #41]
Date
Andrew Morton <akpm@linux-foundation.org> wrote:

> > + if (TestSetPageLocked(page))
>
> This got obsoleted by trylock_page().
>
> I don't remember why, actually.

trylock_page() throws memory barriers in there on, say, PowerPC. That's
probably necessary.

David


\
 
 \ /
  Last update: 2008-11-21 11:29    [W:0.056 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site