|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
685dc743 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
|
Revision tags: release/13.2.0 |
|
| #
3102ea3b |
| 11-Feb-2023 |
Jean-Sébastien Pédron <[email protected]> |
linuxkpi: Accept NULL as a value in `linux_xarray`
Linux' XArray allows to store a NULL pointer as a value. `xa_load()` would return NULL for both an unused index and an index set to NULL. But it im
linuxkpi: Accept NULL as a value in `linux_xarray`
Linux' XArray allows to store a NULL pointer as a value. `xa_load()` would return NULL for both an unused index and an index set to NULL. But it impacts `xa_alloc()` which needs to find the next available index.
However, our implementation relies on a radix tree (see `linux_radix.c`) which does not accept NULL pointers as values. I'm not sure if this is a limitation or a feature, so to work around this, a NULL value is replaced by `NULL_VALUE`, an unlikely address, when we pass it to linux_radix.
Reviewed by: emaste, manu Approved by: emaste, manu Differential Revision: https://reviews.freebsd.org/D38543
show more ...
|
|
Revision tags: release/12.4.0, release/13.1.0 |
|
| #
b0c1600a |
| 11-Feb-2022 |
John Baldwin <[email protected]> |
linuxkpi xarray: Correct expression in assertion.
Reported by: GCC -Wparantheses Reviewed by: wulf, hselasky Differential Revision: https://reviews.freebsd.org/D34197
|
|
Revision tags: release/12.3.0 |
|
| #
e705066c |
| 24-Nov-2021 |
Vladimir Kondratyev <[email protected]> |
LinuxKPI: Add support for XA_FLAGS_ALLOC1 xarray flag
XA_FLAGS_ALLOC1 causes allocation of xarray entries starting at 1
Required by drm-kmod 5.7
MFC after: 1 week Reviewed by: hselasky, manu Diffe
LinuxKPI: Add support for XA_FLAGS_ALLOC1 xarray flag
XA_FLAGS_ALLOC1 causes allocation of xarray entries starting at 1
Required by drm-kmod 5.7
MFC after: 1 week Reviewed by: hselasky, manu Differential Revision: https://reviews.freebsd.org/D33293
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0 |
|
| #
d96e5996 |
| 27-Aug-2020 |
Hans Petter Selasky <[email protected]> |
Implement extensible arrays API using the existing radix tree implementation in the LinuxKPI.
Differential Revision: https://reviews.freebsd.org/D25101 Reviewed by: kib @ MFC after: 1 week Sponsored
Implement extensible arrays API using the existing radix tree implementation in the LinuxKPI.
Differential Revision: https://reviews.freebsd.org/D25101 Reviewed by: kib @ MFC after: 1 week Sponsored by: Mellanox Technologies
show more ...
|