Re: [PATCH 03/61] libfrog: create header file for mocked-up kernel data structures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 16, 2021 at 11:29:16AM +1000, Dave Chinner wrote:
> As it is, my longer term plan it to actually properly support things
> like spinlocks, atomics, rcu, etc in xfsprogs via pthread and
> liburcu wrappers defined in include/<foo.h> that are xfsprogs wide.
> At that point, the wrappers in libxfs/libxfs_priv.h then simply
> disappear.
> 
> I'd prefer we move towards proper support for these primitives
> rather than just rearranging how we mock them up...

Just dug some patches out of a series (not up to date so probably
won't apply, but...) so you can see what I'm suggesting. I'll post
them as a reply here...

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux