Hi,

On Tue, 12 Oct 1999 02:50:44 +0400, Hans Reiser <[EMAIL PROTECTED]> said:

> "Eric W. Biederman" wrote:
>> In struct page (you don't want to pay the overhead for every page of memory)...
>> There is the buffer_head *bh pointer that could be made more generic.

> Ok, I agree bytes are precious, and this seems like the right answer,
> either get it from the buffer_head, or if there is no buffer head,
> then put it elsewhere using that pointer.  That leaves the following
> questions though: how does one know whether it points to a buffer head
> or the something else, and what happens when it goes from having a
> buffer head to not having one---does one have to write code for
> dealing with that---I hate complexity.  I must think about it.

Agreed.  The VM will walk the buffer lists itself in many cases, for
example when trying to free buffers to reclaim memory.  Overloading that
list would just be asking for trouble.

--Stephen

Reply via email to