OpenBSD CVS

CVS log for src/share/man/man9/srpl_rc_init.9


[BACK] Up to [local] / src / share / man / man9

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 21 07:11:13 2016 UTC (7 years, 6 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, HEAD
Changes since 1.13: +5 -2 lines
Diff to previous 1.13 (colored)

jmc@ pointed out i forgot to fix the missing SRPL_LEAVE in the synopsis.

sprinkle some .Ft on the things that act like functions while here.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Nov 21 01:58:55 2016 UTC (7 years, 6 months ago) by dlg
Branch: MAIN
Changes since 1.12: +6 -3 lines
Diff to previous 1.12 (colored)

tweak the pages based on feedback from jmc@

they could do with some examples too.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 20 12:05:25 2016 UTC (7 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.11: +6 -111 lines
Diff to previous 1.11 (colored)

Move LOCKED macros to teir own manual.

This will allow us to better document them and add examples.

Disccussed with dlg@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Nov 20 11:40:58 2016 UTC (7 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.10: +33 -17 lines
Diff to previous 1.10 (colored)

Rename SRPL_ENTER() to SRPL_FIRST() and SRPL_NEXT() to SRPL_FOLLOW().

This allows us to introduce SRPL_NEXT() that can be used to start
iterating on an arbitrary member of an srp list, hence without calling
SRPL_ENTER().

ok dlg@, jmatthew@

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 18 03:46:03 2016 UTC (8 years ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.9: +10 -11 lines
Diff to previous 1.9 (colored)

rework the srp api so it takes an srp_ref struct that the caller provides.

the srp_ref struct is used to track the location of the callers
hazard pointer so later calls to srp_follow and srp_enter already
know what to clear. this in turn means most of the caveats around
using srps go away. specifically, you can now:

- switch cpus while holding an srp ref
  - ie, you can sleep while holding an srp ref
- you can take and release srp refs in any order

the original intent was to simplify use of the api when dealing
with complicated data structures. the caller now no longer has to
track the location of the srp a value was fetched from, the srp_ref
effectively does that for you.

srp lists have been refactored to use srp_refs instead of srpl_iter
structs.

this is in preparation of using srps inside the ART code. ART is a
complicated data structure, and lookups require overlapping holds
of srp references.

ok mpi@ jmatthew@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 3 16:27:32 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.8: +16 -14 lines
Diff to previous 1.8 (colored)

Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow to
fallback to a SLIST.

ok dlg@, jasper@

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 26 13:08:18 2015 UTC (8 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

mlink for SRPL_FOREACH_SAFE_LOCKED and tweak its description;

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 26 12:17:19 2015 UTC (8 years, 6 months ago) by mpi
Branch: MAIN
Changes since 1.6: +11 -1 lines
Diff to previous 1.6 (colored)

Add SRPL_FOREACH_SAFE_LOCKED(9), needed to turn the single list of
multipath route entries mpsafe.

ok dlg@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 18 17:09:11 2015 UTC (8 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

tweak previous;

Revision 1.5 / (download) - annotate - [select for diffs], Fri Sep 18 08:30:23 2015 UTC (8 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.4: +20 -2 lines
Diff to previous 1.4 (colored)

implement SRPL_INSERT_AFTER_LOCKED.

i thought id committed this at l2k15. sorry for the delay.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 13 08:58:07 2015 UTC (8 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.3: +6 -1 lines
Diff to previous 1.3 (colored)

forgot to prototope SRPL_RC_INITIALIZER

Revision 1.3 / (download) - annotate - [select for diffs], Wed Sep 9 13:29:12 2015 UTC (8 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

no comma after last entry in NAME;

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 9 11:47:47 2015 UTC (8 years, 8 months ago) by dlg
Branch: MAIN
Changes since 1.1: +2 -3 lines
Diff to previous 1.1 (colored)

millert@ noticed an extra period.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Sep 9 11:21:51 2015 UTC (8 years, 8 months ago) by dlg
Branch: MAIN

implement a singly linked list built with SRPs.

this allows us to build lists of things that can be followed by
multiple cpus.

ok mpi@ claudio@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.