lkml.org 
[lkml]   [1999]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: oops if free a locked page
Hi,

On Tue, 22 Jun 1999 10:57:45 -0700 (PDT), Linus Torvalds
<torvalds@transmeta.com> said:

> No, you are NOT allowed to free a locked block. If you do, it's a bug.

> The fact that the page is locked implies that it is going to be unlocked
> by something later.

More than that, if you even so much as remove the locked block/page from
the hash lists, you prevent any future access from discovering the
existing lock on those disk blocks --- a sure invitation to data
corruption.

--Stephen

-
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    [W:0.307 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site