Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/rtsock_14.c
RevisionDateAuthorComments
 1.10  29-Jan-2020  thorpej Don't reference ifp->if_data directly; use if_export_if_data().
 1.9  12-Dec-2019  pgoyette branches: 1.9.2;
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.8  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.7  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.6  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.5  03-Nov-2016  riastradh branches: 1.5.14; 1.5.16;
Sprinkle #ifdef _KERNEL_OPT.
 1.4  17-Jul-2011  joerg branches: 1.4.12; 1.4.30; 1.4.34;
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
 1.3  01-Feb-2011  matt Add a new AF/PF_ROUTE which is 64-bit clean which makes the routing socket
interface (and its associated sysctls) act identically for both 32 and 64 bit
programs. The old unclean one remains for backward compatibility.
 1.2  11-Jan-2009  christos branches: 1.2.2; 1.2.4; 1.2.10; 1.2.12; 1.2.14;
merge christos-time_t
 1.1  29-Mar-2008  christos branches: 1.1.2; 1.1.6;
file rtsock_14.c was initially added on branch christos-time_t.
 1.1.6.1  04-May-2009  yamt sync with head.
 1.1.2.1  29-Mar-2008  christos new files
 1.2.14.1  08-Feb-2011  bouyer Sync with HEAD
 1.2.12.1  06-Jun-2011  jruoho Sync with HEAD.
 1.2.10.1  05-Mar-2011  rmind sync with head
 1.2.4.2  19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1  11-Jan-2009  skrll file rtsock_14.c was added on branch nick-hppapmap on 2009-01-19 13:17:17 +0000
 1.2.2.2  17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1  11-Jan-2009  mjf file rtsock_14.c was added on branch mjf-devfs2 on 2009-01-17 13:28:41 +0000
 1.4.34.1  04-Nov-2016  pgoyette Sync with HEAD
 1.4.30.1  05-Dec-2016  skrll Sync with HEAD
 1.4.12.1  03-Dec-2017  jdolecek update from HEAD
 1.5.16.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.5.16.1  10-Jun-2019  christos Sync with HEAD
 1.5.14.7  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.5.14.6  14-Jan-2019  pgoyette Create a variant of the HOOK macros that handles hook routines of
type void, and use them where appropriate.
 1.5.14.5  13-Jan-2019  pgoyette Remove the HOOK2 versions of the MODULE_HOOK macros. There were
only a few uses, and using them led to some lack of clarity in the
code. Instead, we now use two separate hooks, with names that
make it clear(er) what we're doing.

This also positions us to start unraveling some of the rtsock_50
mess, which will need (at least) five hooks.
 1.5.14.4  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.5.14.3  18-Sep-2018  pgoyette The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers
 1.5.14.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.5.14.1  30-Mar-2018  pgoyette Extract compat_14 stuff into its own module
 1.9.2.1  29-Feb-2020  ad Sync with head.

RSS XML Feed