Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/ccd_60.c
RevisionDateAuthorComments
 1.11  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.10  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.9  27-Jan-2019  christos make this compile again (enable #if 0 code)
 1.8  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.7  19-Mar-2018  martin branches: 1.7.2;
XXX stub it completely for now to make it compile
 1.6  19-Mar-2018  christos XXX: don't reference the global for now so that kernels without ccd build.
 1.5  19-Mar-2018  christos remove another error decl.
 1.4  18-Mar-2018  christos remove error decl
 1.3  18-Mar-2018  christos - use the conditional from the header file
- fix compilation
 1.2  18-Mar-2018  pgoyette Declare 'error' if needed
 1.1  18-Mar-2018  christos branches: 1.1.2;
factor out the ccd COMPAT_60 code.
 1.1.2.9  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.8  18-Sep-2018  pgoyette The COMPAT_HOOK macros were renamed to MODULE_HOOK, adjust all callers
 1.1.2.7  16-Sep-2018  pgoyette Yay - we got the ccd_ioctl_60 stuff to build!

Now we can use that as a template for cleaning up all the others.
 1.1.2.6  20-Mar-2018  pgoyette Initial implementation of sys/kern/kern_stup.c as discussed on tech-kern

For now, we only handle the dev/ccd and NTP needs; more to follow.
 1.1.2.5  19-Mar-2018  pgoyette Stub-out the compat ioctl routine for now to fix compile error on
kernels with no ccd device.
 1.1.2.4  18-Mar-2018  pgoyette Merge changes from HEAD into ccd_60.c

For all of the individual xxx_60_{init,fini} routines, don't force
them to artificially return a status; just make them void. This
simplifies the compat_60_{init,fini} handling of errors that remain.
 1.1.2.3  18-Mar-2018  pgoyette Declare 'error' if needed
 1.1.2.2  18-Mar-2018  pgoyette Import compat_60 changes for dev/ccd
 1.1.2.1  18-Mar-2018  pgoyette file ccd_60.c was added on branch pgoyette-compat on 2018-03-18 21:41:31 +0000
 1.7.2.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.7.2.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed