Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/sysmon_power_40.c
RevisionDateAuthorComments
 1.4  12-Dec-2019  pgoyette Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.

Note that we still have a per-hook localcount, since we need to count
individual references.

As discussed with riastradh@

Welcome to 9.99.22 !
 1.3  01-Mar-2019  pgoyette branches: 1.3.4;
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.
 1.2  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.1  27-Mar-2018  pgoyette branches: 1.1.2;
file sysmon_power_40.c was initially added on branch pgoyette-compat.
 1.1.2.6  23-Jan-2019  pgoyette Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit. IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).

NFC intended, will verify with a bulk build and an atf test run.
 1.1.2.5  14-Jan-2019  pgoyette Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.
 1.1.2.4  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.1.2.3  18-Sep-2018  pgoyette The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers
 1.1.2.2  17-Sep-2018  pgoyette Adapt (most of) the indirect function pointers to the new MP-safe
mechanism. Still remaining are the compat_netbsd32 stuff, and
some usb subroutines.
 1.1.2.1  27-Mar-2018  pgoyette Create a compat_40 module
 1.3.4.3  08-Apr-2020  martin Merge changes from current as of 20200406
 1.3.4.2  10-Jun-2019  christos Sync with HEAD
 1.3.4.1  01-Mar-2019  christos file sysmon_power_40.c was added on branch phil-wifi on 2019-06-10 22:06:58 +0000

RSS XML Feed