lkml.org 
[lkml]   [1999]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.2.9 hangs in truncate_inode_pages
From
Date
Alan Cox <alan@lxorguk.ukuu.org.uk> writes:

> I've been chasing a hang in 2.2.9* and it comes down to truncate_inode_pages.
>
> Now there are two things that have me wondering here and one cleanup item
>

A naiive question on my part perhaps: but why is truncate_inode_pages
calling page_cache_release(page) without having done an
atomic_inc(&page->count) first?

Surely that is a bug unless you can guarantee that the caller did it
for you.

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog