#
7c43148a |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
stand: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Rem
stand: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
82cf061e |
| 11-May-2023 |
Warner Losh <imp@FreeBSD.org> |
stand: Make non-matching console names OKer
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D39984
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
e6925175 |
| 24-Feb-2022 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Handle MODULE_VERBOSE_TWIDDLE in module_verbose_set
If module_verbose is set to a value below MODULE_VERBOSE_TWIDDLE call twiddle_divisor(UINT_MAX).
This makes more sense here than when we are load
Handle MODULE_VERBOSE_TWIDDLE in module_verbose_set
If module_verbose is set to a value below MODULE_VERBOSE_TWIDDLE call twiddle_divisor(UINT_MAX).
This makes more sense here than when we are loading the kernel.
Sponsored by: Juniper Networks, Inc.
show more ...
|
#
ec042f46 |
| 13-Feb-2022 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Add support for module_verbose
Set module_verbose to control the printing of information about loaded modules and kernel:
0 MODULE_VERBOSE_SILENT None 1 MODULE_VERBOSE_SIZE Pathname and size 2 MODU
Add support for module_verbose
Set module_verbose to control the printing of information about loaded modules and kernel:
0 MODULE_VERBOSE_SILENT None 1 MODULE_VERBOSE_SIZE Pathname and size 2 MODULE_VERBOSE_TWIDDLE as for 1 but also twiddle for progress 3 MODULE_VERBOSE_FULL extra detail
When the loader is verifying modules we already have a running indication of progress and module_verbose=0 makes sense.
Reviewed by: rpokala Differential Revision: https://reviews.freebsd.org/D34245
show more ...
|
Revision tags: release/12.3.0 |
|
#
74578402 |
| 28-Sep-2021 |
Colin Percival <cperciva@FreeBSD.org> |
loader: Set twiddle globaldiv to 16 by default
Booting FreeBSD on an EC2 c5.xlarge instance, the loader "twiddles" 810 times over the course of 510 ms, a rate of 1.59 kHz. Even accepting that many s
loader: Set twiddle globaldiv to 16 by default
Booting FreeBSD on an EC2 c5.xlarge instance, the loader "twiddles" 810 times over the course of 510 ms, a rate of 1.59 kHz. Even accepting that many systems are slower than this particular VM and will take longer to boot (especially if using spinning-rust disks), this seems like an unhelpfully large amount of twiddling when compared to the ~60 Hz frame rate of many displays; printing the twiddles also consumes roughly 10% of the boot time on the aforementioned VM.
Setting the default globaldiv to 16 dramatically reduces the time spent printing twiddles to the console while still twiddling at roughly 100 Hz; this should be ample even for systems which take longer to boot and consequently twiddle slower.
Note that this can adjusted via the twiddle_divisor variable in loader.conf, but that file is not processed until nearly halfway through the loader's runtime.
Reviewed by: allanjude, jrtc27, kevans MFC after: 1 week Sponsored by: https://www.patreon.com/cperciva Differential Revision: <https://reviews.freebsd.org/D32163>
show more ...
|
#
313724ba |
| 31-May-2021 |
Colin Percival <cperciva@FreeBSD.org> |
loader: Use tslog to instrument some functions
In my initial testing, these are the functions which showed up as being worth instrumenting. More may be added later.
common/console.c: cons_probe co
loader: Use tslog to instrument some functions
In my initial testing, these are the functions which showed up as being worth instrumenting. More may be added later.
common/console.c: cons_probe common/gfx_fb.c: read_list, insert_font, autoload_font common/interp.c: interact common/interp_lua.c: interp_init, interp_run efi/libefi/efipart.c: efipart_readwrite i386/libi386/biosdisk.c: bd_init, bd_open, bd_edd_io, bd_chs_io, bd_io libsa/open.c: open libsa/read.c: read libsa/twiddle.c: twiddle
Note that profiling interp_run may be of questionable utility as it may depend on user behaviour (e.g. pressing keys).
Reviewed by: kevans (earlier version)
show more ...
|
Revision tags: release/13.0.0 |
|
#
3e9f0f1d |
| 14-Nov-2020 |
Toomas Soome <tsoome@FreeBSD.org> |
loader: cstyle cleanup of console.c
cstyle cleanup only, no functional changes intended.
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
55b1c6e7 |
| 15-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325663 through r325841.
|
#
ca987d46 |
| 15-Nov-2017 |
Warner Losh <imp@FreeBSD.org> |
Move sys/boot to stand. Fix all references to new location
Sponsored by: Netflix
|