On Mon, 15 Aug 2022, Richard Miller wrote:
A simple fix is to add a reference count to the Ram struct, to keep track of how many Fids point to it, and only allow a Ram to be re-used if both busy==0 and ref==0. The new 9legacy patch ramfs-refcount makes this change.
Thanks for sharing this with the list. It is really hard to keep track of what and when with 9legacy. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc364b766ff6473bc-Mc0e95938ae16096f4aaad0b7 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription