git: drm - Implement poor-man's RCU

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Sep 1 11:15:07 PDT 2020


commit 8141ce269ec43fe4b6c7bb98072127df48720a80
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Sep 1 11:13:25 2020 -0700

    drm - Implement poor-man's RCU
    
    * Implement a really poor-man's RCU.  Not even remotely perfect, this
      is just a brute-force tie-in for now.
    
      RCU operations are queued and then executed on the calling cpu
      1 second later.

Summary of changes:
 sys/dev/drm/drm/Makefile             |   1 +
 sys/dev/drm/include/linux/rcupdate.h |  12 +-
 sys/dev/drm/linux_rcu.c              | 224 +++++++++++++++++++++++++++++++++++
 sys/dev/drm/linux_reservation.c      |   2 +-
 4 files changed, 228 insertions(+), 11 deletions(-)
 create mode 100644 sys/dev/drm/linux_rcu.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8141ce269ec43fe4b6c7bb98072127df48720a80


-- 
DragonFly BSD source repository


More information about the Commits mailing list