Conrad Meyer 3c30b23519 Use SMR to provide safe unlocked lookup for pctries from SMR zones
Adapt r358130, for the almost identical vm_radix, to the pctrie subsystem.
Like that change, the tree is kept correct for readers with store barriers
and careful ordering.  Existing locks serialize writers.

Add a PCTRIE_DEFINE_SMR() wrapper that takes an additional smr_t parameter
and instantiates a FOO_PCTRIE_LOOKUP_UNLOCKED() function, in addition to the
usual definitions created by PCTRIE_DEFINE().

Interface consumers will be introduced in later commits.

As future work, it might be nice to add vm_radix algorithms missing from
generic pctrie to the pctrie interface, and then adapt vm_radix to use
pctrie.

Reported by:	Attilio
Reviewed by:	markj
Sponsored by:	Isilon
Differential Revision:	https://reviews.freebsd.org/D25781
2020-07-24 17:32:10 +00:00
..
2020-02-26 16:22:28 +00:00
2020-07-06 16:34:49 +00:00
2020-07-15 10:24:04 +00:00
2020-07-15 10:24:04 +00:00
2020-07-15 10:24:04 +00:00
2020-03-02 15:30:52 +00:00
2020-03-02 15:30:52 +00:00
2020-03-02 15:30:52 +00:00
2020-06-18 21:42:54 +00:00
2020-07-04 06:22:05 +00:00
2019-03-12 05:10:41 +00:00
2018-10-12 00:32:45 +00:00
2020-03-02 15:30:52 +00:00
2020-05-09 15:56:02 +00:00
2019-02-20 09:38:19 +00:00
2020-06-24 18:51:01 +00:00
2020-01-12 23:52:16 +00:00
2020-03-20 20:09:00 +00:00
2020-02-23 03:32:11 +00:00