diff options
| author | Thomas Hellstrom <[email protected]> | 2019-03-05 07:24:35 +0000 |
|---|---|---|
| committer | Thomas Hellstrom <[email protected]> | 2019-06-18 13:19:35 +0000 |
| commit | 86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4 (patch) | |
| tree | f9c17d945a9a786981fd0f75e9777d7951ee5c4c /fs/btrfs/dev-replace.c | |
| parent | drm/vmwgfx: Implement an infrastructure for write-coherent resources (diff) | |
| download | kernel-86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4.tar.gz kernel-86aeaa09f3dfc43c89ae45e62f9b1b7f705c90e4.zip | |
drm/vmwgfx: Use an RBtree instead of linked list for MOB resources
With emulated coherent memory we need to be able to quickly look up
a resource from the MOB offset. Instead of traversing a linked list with
O(n) worst case, use an RBtree with O(log n) worst case complexity.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Deepak Rawat <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
