Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/kern_mod_80.c
RevisionDateAuthorComments
 1.6  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.5  01-Mar-2019  pgoyette branches: 1.5.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.4  27-Jan-2019  pgoyette Include new header from correct directory
 1.3  27-Jan-2019  christos - autoload the compat_80 for modstat
- move compat struct to a compat header
 1.2  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.1  03-Apr-2018  pgoyette branches: 1.1.2;
file kern_mod_80.c was initially added on branch pgoyette-compat.
 1.1.2.8  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.7  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.1.2.6  18-Sep-2018  pgoyette The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers
 1.1.2.5  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.4  07-Sep-2018  pgoyette At the request of reviewers, remove the module alias functionality.

We will rely only on module names and duplicate-symbol detection to
detect module conflicts.
 1.1.2.3  06-Sep-2018  pgoyette Remove editor glitch
 1.1.2.2  06-Sep-2018  pgoyette Catch up to recent change on head: min() -> uimin()
 1.1.2.1  03-Apr-2018  pgoyette Remove fixed allocation of modules' "required" lists (previously
limited to MAXMODDEPS entries). Update the modctl(MODCTL_STAT)
syscall to return the required data in a new format, and retain
the previous data format in MODCTL_OSTAT. Update the compat_80
and compat_netbsd32 modules as needed.
 1.5.4.3  08-Apr-2020  martin Merge changes from current as of 20200406
 1.5.4.2  10-Jun-2019  christos Sync with HEAD
 1.5.4.1  01-Mar-2019  christos file kern_mod_80.c was added on branch phil-wifi on 2019-06-10 22:06:58 +0000

RSS XML Feed