epoch(9) background information?

Jacques Fourie jacques.fourie at gmail.com
Tue Aug 21 13:38:04 UTC 2018


On Tue, Aug 21, 2018 at 8:33 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> Hello,
>
> I update currently a port of the FreeBSD network stack, etc. to the
> real-time operating system RTEMS from the head version at 2017-04-04 to the
> head version of today. I noticed that some read-write locks are replaced by
> a relatively new stuff called EPOCH(9). Is there some background
> information available for this? The man page is a bit vague and searching
> for something named epoch on the internet is not really great. For example,
> what is the motivation for this change? How is this related to
> read-copy-update (RCU)?
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> <https://maps.google.com/?q=Dornierstr.+4,+D-82178+Puchheim,+Germany&entry=gmail&source=g>
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>

Additional information is available here : http://concurrencykit.org/pr
esentations/ebr.pdf. The way I understand it is that it is mostly used in
place of read locks to provide liveness guarantees without using atomics.
Additional detail is available in the commit messages. As an example see
r333813 for some performance data.


More information about the freebsd-hackers mailing list