History log of /src/sys/compat/netbsd32/netbsd32_kern_proc.c |
Revision | | Date | Author | Comments |
1.6 |
| 05-Sep-2020 |
riastradh | Round of uvm.h cleanup.
The poorly named uvm.h is generally supposed to be for uvm-internal users only.
- Narrow it to files that actually need it -- mostly files that need to query whether curlwp is the pagedaemon, which should maybe be exposed by an external header.
- Use uvm_extern.h where feasible and uvm_*.h for things not exposed by it. We should split up uvm_extern.h but this will serve for now to reduce the uvm.h dependencies.
- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use UVMHIST(ubchist), since ubchist is declared in uvm.h but the reference evaporates if UVMHIST is not defined, so we reduce header file dependencies.
- Make uvm_device.h and uvm_swap.h independently includable while here.
ok chs@
|
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 |
| 23-Sep-2018 |
pgoyette | branches: 1.1.2; file netbsd32_kern_proc.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-Jan-2019 |
pgoyette | Convert the MODULE_{,VOID_}HOOK_CALL macros to do everything in-line rather than defining an intermediate hook##call function. Almost all of the hooks are called only once, and although we lose the ability of doing things like
if (MODULE_HOOK_CALL(...) == 0) ...
we simplify things quite a bit. With this change, we no longer need to have both declaration and definition macros, and the definition no longer needs to have both prototype argument list and a "real" argument list.
FWIW, the above if now needs to written as
int ret;
MODULE_HOOK_CALL(..., ret); if (ret == 0) ...
with appropriate use of braces {}.
|
1.1.2.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.1.2.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.1.2.4 |
| 23-Sep-2018 |
pgoyette | Use a .h file to define the xxx_{init,fini} routines, and include the compat_stub.h header to get the definition of the kern_proc_32 hook.
|
1.1.2.3 |
| 23-Sep-2018 |
pgoyette | Use the proper test: _RUMPKERNEL vs _RUMP_KERNEL
|
1.1.2.2 |
| 23-Sep-2018 |
pgoyette | This hook doesn't exist for _RUMPSERVER
|
1.1.2.1 |
| 23-Sep-2018 |
pgoyette | More work on kern_proc_32
|
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 netbsd32_kern_proc.c was added on branch phil-wifi on 2019-06-10 22:07:02 +0000
|