This is needed by the drm-kmod 5.7 update
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 39879 Build 36768: arc lint + arc unit
Event Timeline
Comment Actions
I chose (1U << 1) mainly for compatibility with Linux, but it could also be (1U << 2).
See: https://github.com/openbsd/src/search?q=XA_FLAGS_ALLOC1
Comment Actions
OK.
This flag must be "1U << 2" in FreeBSD, and you must implement it in the xarray code like they do on Linux, by reserving index 0 from allocation.
--HPS
Comment Actions
Like said, this is a feature, so you need to implement this in the xarray C-code too. It is not enough just to define this flag!