Re: bforget and protected buffers

Stephen C. Tweedie (sct@redhat.com)
Fri, 30 Apr 1999 01:22:39 +0100 (BST)


Hi,

On Tue, 27 Apr 1999 15:16:05 +0200 (CEST), Andrea Arcangeli
<andrea@e-mind.com> said:

> Shound't we also check if the buffer was protected before put it on the
> freelist?

No, ramdisk buffers are allocated on demand and freed on demand: it is
the bforget action of dropping protected buffers which performs that
freeing.

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