Page MenuHomeFreeBSD

LinuxKPI rcu list additions
ClosedPublic

Authored by johalun on Jun 21 2019, 4:31 PM.
Tags
None
Referenced Files
F163818103: D20719.id58868.diff
Sun, Jul 26, 8:34 AM
F163806462: D20719.id58865.diff
Sun, Jul 26, 5:32 AM
F163806456: D20719.id58865.diff
Sun, Jul 26, 5:32 AM
Unknown Object (File)
Sat, Jul 25, 2:56 PM
Unknown Object (File)
Mon, Jul 20, 5:03 AM
Unknown Object (File)
Sun, Jul 19, 1:36 AM
Unknown Object (File)
Sun, Jul 19, 1:22 AM
Unknown Object (File)
Sat, Jul 18, 9:48 PM

Details

Summary

Add rcu list functions and change hlist_for_each_entry_rcu to use rcu and not the non-rcu version hlist_for_each_entry.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/compat/linuxkpi/common/include/linux/rculist.h
36

<tab> after #define

39

wrap this line like the other ones

43

Missing ()'s

&(pos)->member

*(pos)

72

Missing ()'s
(pos) != NULL

Add () where needed. Make sure define is followed by a tab.

johalun added inline comments.
sys/compat/linuxkpi/common/include/linux/rculist.h
39

I follow the style of the hlist_* equivalents below... Still want me to wrap this one?

Also bump freebsd version so we can have a checkpoint from where the virtualbox drm driver builds.

This revision is now accepted and ready to land.Jun 21 2019, 6:35 PM
This revision was automatically updated to reflect the committed changes.