This is an old revision of the document!
SV stuff to be committed to FreeBSD
Revisit these as we port to 8.1.
TSC miscalibration
- reqst00084792
- Supermicro / SMM / BIOS related
- Files in 6.x:
- sys/i386/isa/clock.c
- sys/i386/include/clock.h
- sys/i386/i386/tsc.c
- sys/amd64/isa/clock.c
- sys/amd64/include/clock.h
- sys/amd64/amd64/tsc.c
- Merged x86 tree
- sys/x86/isa/clock.c
- clock.h not moved - why?
- tsc.c not moved
- gnn confirms still an issue on 8
- Addressed by mav's patches in HEAD
- MFC to 8 in progress
Softclock backlog printout after panic
- sys/kern/kern_clock.c
- sys/kern/kern_timeout.c
- sys/sys/callout.h
if_bridge changes
Interfaces for querying the state of an if_bridge interface’s MAC learning table.
- fw-bsd/src/sys/net/if_bridge.c
- fw-bsd/src/sys/net/if_bridgevar.h
vlan routing socket notification
Notify the routing socket if the configuration of a vlan interface changes.
- fw-bsd/src/sys/net/if_vlan.c
- fw-bsd/src/sys/net/route.h
- fw-bsd/src/sys/net/rtsock.c
dummynet
Change RED_SCALE from 16 to 12. RED_SCALE is a scaling parameter that's used in dummynet's implementation of the RED algorithm.
- fw-bsd/src/sys/netinet/ip_dummynet.h
Interface renames
Add IFAN_RENAME define for interface renames. In discussion with brooks@ (the original author of interface rename support in FreeBSD) this is the approach we'll take upstream, but probably with a backwards compatibility mode there.
- fw-bsd/src/sys/net/if.c
- fw-bsd/src/sys/net/if.h
Swap handling
Merge the change for printing out how much size has been used by the bigswap process, but adjusting the format strings.
- fw-bsd/src/sys/vm/vm_pageout.c
consmute
Merge the consmute disabling bits. Modify the function in order to strengthen the protection level and just allow for disabling it rather than setting to random value, using explicit interface cnconsmuteoff().
- fw-bsd/src/sys/ddb/db_main.c
- fw-bsd/src/sys/kern/kern_cons.c
- fw-bsd/src/sys/kern/kern_shutdown.c
- fw-bsd/src/sys/sys/cons.h
Others
- top & libthr - print thread names in top
- Contribute from $WORKBSD
- sysctl_handle_byte
- We use to expose some if_em registers
- em(4) rxd / txd tunables
- don't recall exactly what this was
- maybe just need to contribute something from $WORKBSD
- descriptor ring sizes?
- Read-only .text section
- sys/kern/kern_linker.c
Committed to FreeBSD
gcore
BOOT_PROMPT_123
ftp socket leak
protect for cron, inetd, syslogd
- but not watchdogd.c?
aic7xxx sysctl
netstat statistics for dropped packets
libtacplus fixes
inet_aton kernel's function export
pmc LOR and load fixes
fixup for "elf unsupported file type"
tdaddr keyword in ps
libgeom memory leaks / error checking
Reject invalid CIDR widths in ifconfig
hwpmc userland callchain bug
Committed before FreeBSD 8
uname
Allow -o as a synonym for -s Not yet in 8?
vlan lock
config
kgdb
inet_pton weak reference
login(1) and sshd(8) copyright strings
defaultroute
vm.kmem_allocated sysctl
compat32 sysctl kern.proc
/dev/io and threaded apps
Thread names in debugger
Provide thread names for debugging in gdb (via core files and the ptrace interface).
Stock gdb:
(gdb) info threads 12 Thread 2a4041c0 (LWP 100184) 0x29e91fe3 in memset () from /lib/libc.so.7 11 Thread 2a404700 (LWP 100190) 0x29e2be33 in poll () from /lib/libc.so.7 10 Thread 2a404c40 (LWP 100191) 0x29ed85e7 in _umtx_op_err () from /lib/libthr.so.3 ...
With thread name support:
(gdb) info threads 41 Thread 0x9d80000 (LWP 100259/initial thread) 0x6a3f23ff in nanosleep () from /lib/libc.so.6 40 Thread 0x9f48600 (LWP 100315/LowPriorityEventLoo) 0x6a38e427 in _umtx_op () from /lib/libc.so.6 39 Thread 0x9f48800 (LWP 100321/ntfy) 0x6a38e427 in _umtx_op () from /lib/libc.so.6 ...