On Fri, May 03, 2019 at 02:17:27PM +1000, Dave Chinner wrote: > Concept proven. > > Next steps are: .... > - work out whether RCU read locking and kfree_rcu() will > work with the requirement to do memory allocation while > holding rcu_read_lock(). Alternative is an internal > garbage collector mechanism, kinda like I've hacked up to > simulate kfree_rcu() in userspace. Internal RCU interactions are now solved. Actually very simple in the end, should be very easy to integrate into the code. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx