[haiku-gsoc] Re: [HCD]: Bfs bug #1

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Sun, 29 Jun 2008 14:30:44 +0200

On 2008-06-29 at 11:53:29 [+0200], Salvatore Benedetto <emitrax@xxxxxxxxx> 
wrote:
> To summirize,
> 
> - The vnode struct in vfs.cpp should be modified in order to have an
> union of two struct, one
> for the condition variable used while the vnode is created or removed,
> and the other for file locking
> stuff, which used while using the vnode (btw: which part is it?),
> basically like it's done in the sem_entry
> structure. Was I correct?

To keep the changes minimal we could use an anonymous union just for one of 
the existing pointers and the new condition variable pointer.

> - Quoting Ingo: "Codepaths necessary to recover from extreme memory
> shortage should
>  have some preallocated buffers around they can use then."

You're actually quoting Axel, but that doesn't make it less correct. :-)

> I guess the latest should be pointed to Marcus.

I don't know, whether this is related, but it doesn't harm to notify Marcus 
of the ticket.

CU, Ingo

Other related posts: