[haiku-commits] Re: haiku: hrev53363 - in src: system/kernel/vm kits/media servers/app servers/media system/runtime_loader

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 11 Aug 2019 08:43:20 +0200

964cab461539: media: Set B_CLONEABLE_AREA where applicable.
  
  Cloning cloned buffers seems especially strange, but
  apparently it is actually done. The buffer management
  code really needs to be cleaned up...

This seems by design to me. BBuffer are created in media server (so there is
one central entity responsable for the buffer pool) and then passed from one
media node to another down the processing chain. So any buffer is at
least shared between the media server, and the two applications running
the source and destination media nodes.

I don't see a way to do less cloning here.

-- 
Adrien.

Other related posts: