lkml.org 
[lkml]   [1999]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] some buffer.c glitches
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.057 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site