Home | History | Annotate | Download | only in linux
History log of /src/sys/external/bsd/drm2/include/linux/radix-tree.h
RevisionDateAuthorComments
 1.8  19-Dec-2021  riastradh linux: Kludgily make radix tree safe for RCU

Using a lock is completely stupid (gotta be cpu_simple_lock because
there's no radix_tree_destroy or anything), and the nonsense to do
unvolatile/unconst is garbage, but it will serve to make this safe
for RCU until someone makes our radix tree code RCU-safe (which
Someone^TM should totally do).
 1.7  19-Dec-2021  riastradh linux: Kludgey radix tree shims
 1.6  19-Dec-2021  riastradh i915: Odds & ends.
 1.5  19-Dec-2021  riastradh drm: Another pass over i915 and some supporting logic.

This makes a shim around sg_table, which essentially represents two
things:

1. an array of pages (roughly corresponding to bus_dma_segment_t[])
2. an array of DMA addresses stored in a bus_dmamap_t

Both parts are optional; different parts of i915 use sg_tables to
pass around one or both of the two parts. This helps to reduce the
ifdefs by quite a bit, although it's not always clear which part of
an sg_table any particular interface is actually using which is why I
was reluctant to do this before.
 1.4  19-Dec-2021  riastradh Fix radix_tree_insert declaration.
 1.3  19-Dec-2021  riastradh Declare radix_tree_delete.
 1.2  19-Dec-2021  riastradh Stub linux radix tree API.
 1.1  19-Dec-2021  riastradh More Linux header stubs.

Let's just use empty header files until we actually populate these.
Save a bit of disk space...

RSS XML Feed