Re: [patch] some buffer.c glitches

Andrea Arcangeli (andrea@e-mind.com)
Wed, 7 Apr 1999 15:56:26 +0200 (CEST)


On Wed, 7 Apr 1999, Stephen C. Tweedie wrote:

>Hi,
>
>On Mon, 5 Apr 1999 00:25:56 +0200 (CEST), Andrea Arcangeli
><andrea@e-mind.com> said:
>
>> 6. We don't need to initialize a buffer_head with zero values because a
>> buffer head is enforced to be zeroed before being put in the
>> unused_buffer_head list.
>
>Hmm? Right now we _don't_ zero out buffers which come off the
>buffer_head free list.

Could you expain better? When we release a buffer from the freelist their
buffer_heads are put on the unused list by put_unused_buffer_head() that
will zero them out completly. Maybe I am missing something...

Andrea Arcangeli

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