Home | History | Annotate | Download | only in wscons
History log of /src/sys/dev/wscons/wsevent_50.c
RevisionDateAuthorComments
 1.5  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.4  01-Mar-2019  pgoyette branches: 1.4.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.3  29-Jan-2019  pgoyette Normalize all the compat hooks' names to the form

<subsystem>_<function>_<version>_hook

NFCI

XXX Note that although this introduces a change in the kernel-to-
XXX module interface, we are NOT bumping the kernel version number.
XXX We will bump the version number once the interface stabilizes.
 1.2  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.1  24-Mar-2018  pgoyette branches: 1.1.2;
file wsevent_50.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  18-Sep-2018  pgoyette The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers
 1.1.2.4  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.3  14-Jun-2018  pgoyette Keep up with HEAD. The original change in the wsevent_50 compat code
has been moved to sys/time_types.h and will get picked up during the
next sync-with-HEAD
 1.1.2.2  13-Jun-2018  pgoyette Keep up with -HEAD
 1.1.2.1  24-Mar-2018  pgoyette Move the compat_50-specific code out of wscons/wsevent.c into its own
source file, which is now part of the compat_50 module.
 1.4.4.3  08-Apr-2020  martin Merge changes from current as of 20200406
 1.4.4.2  10-Jun-2019  christos Sync with HEAD
 1.4.4.1  01-Mar-2019  christos file wsevent_50.c was added on branch phil-wifi on 2019-06-10 22:07:36 +0000

RSS XML Feed