Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/uipc_usrreq_70.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 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  06-Apr-2016  roy branches: 1.1.2; 1.1.18; 1.1.20; 1.1.22;
Add sc_pid to sockcred so that SOCK_DGRAM and LOCAL_CREDS socket option
can learn the process id of the AF_LOCAL sender.
Add compat glue for old structure.
 1.1.22.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.22.1  10-Jun-2019  christos Sync with HEAD
 1.1.20.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.20.5  18-Jan-2019  pgoyette Don't restrict hooks to having only int or void types. Pass the hook's
type to the various macros, as needed.

Allows us to reduce diffs to original in at least one or two places (we
no longer have to provide an additional parameter to the hook routine
for returning a non-int return value).
 1.1.20.4  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.20.3  15-Oct-2018  pgoyette Convert the compat70_unp_addsockcred hook to the MP-safe mechanism.

XXX One more remaining: sysvipc50_sysctl
 1.1.20.2  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.1.20.1  08-Mar-2018  pgoyette No need to compile conditionally, since it won't be compiled at all
unless requested.
 1.1.18.2  03-Dec-2017  jdolecek update from HEAD
 1.1.18.1  06-Apr-2016  jdolecek file uipc_usrreq_70.c was added on branch tls-maxphys on 2017-12-03 11:36:53 +0000
 1.1.2.2  22-Apr-2016  skrll Sync with HEAD
 1.1.2.1  06-Apr-2016  skrll file uipc_usrreq_70.c was added on branch nick-nhusb on 2016-04-22 15:44:12 +0000

RSS XML Feed