This is an old revision of the document!


SV stuff to be committed to FreeBSD

Revisit these as we port to 8.1.

http://svn.freebsd.org/viewvc/base/projects/sv/

  • 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
  • sys/kern/kern_clock.c
  • sys/kern/kern_timeout.c
  • sys/sys/callout.h

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

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

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

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
  1. top & libthr - print thread names in top
    • Contribute from $WORKBSD
  2. sysctl_handle_byte
    • We use to expose some if_em registers
  3. em(4) rxd / txd tunables
    • don't recall exactly what this was
    • maybe just need to contribute something from $WORKBSD
    • descriptor ring sizes?
  4. Read-only .text section
    • sys/kern/kern_linker.c

Committed to FreeBSD

  • but not watchdogd.c?

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
...
  • edmaste/sv.1292361030.txt.gz
  • Last modified: 2010/12/14 21:10
  • by EdMaste