lkml.org 
[lkml]   [2002]   [Apr]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 18 Apr 2002 21:37:29 -0700
FromWilliam Lee Irwin III <>
SubjectRe: [RFC] 2.4 truncate locking
On Wed, Apr 17, 2002 at 08:09:12AM -0700, William Lee Irwin III wrote:
> I did some research on how truncate_inode_pages()'s locking works.
> Please feel free to clarify and/or correct my notes on the subject,
> which I'd like to turn into a docpatch soon.
>
> (9) exclusion from simultaneous manipulation of page->mapping
> 	pagemap_lru_lock

This is incorrect. It appears to be a combination of PG_locked and
pagecache_lock, where both are required for writing, and only one of
the two for reading.


Cheers,
Bill
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:25    [from the cache]
©2003-2008