Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: user/hrs/arm
Commits on Aug 18, 2012
  1. @zeising

    Fix two instances of the file names generated by revnetgroup(8).

    zeising authored
    Approved by:	joel (mentor)
  2. Set machine correctly on ARM. This allows universe to use the correct…

    andrew authored
    … world
    when building each kernel.
    Reviewed by:	imp
Commits on Aug 17, 2012
  1. @mjguzik

    Remove unused member of struct indir (in_exists) from UFS and EXT2 code.

    mjguzik authored
    Reviewed by:	mckusick
    Approved by:	trasz (mentor)
    MFC after:	1 week
  2. Add new USB device ID.

    hselasky authored
    PR:		usb/170688
    MFC after:	1 week
  3. @bsdjhb
  4. @bsdjhb

    Fix dhclient to properly exit and teardown the configured lease when

    bsdjhb authored
    link is lost.  devd will start a new dhclient instance when link is
    PR:		bin/166656
    Submitted by:	Peter Jeremy (mostly)
    Reviewed by:	brooks (earlier version from Peter)
    MFC after:	1 month
  5. @bsdjhb

    Allow static DMA allocations that allow for enough segments to do pag…

    bsdjhb authored
    segments for the entire allocation to use kmem_alloc_attr() to allocate
    KVM rather than using kmem_alloc_contig().  This avoids requiring
    a single physically contiguous chunk in this case.
    Submitted by:	Peter Jeremy (original version)
    MFC after:	1 month
  6. Ok jhb, lets move the ifa_free() down to the bottom to

    rrs authored
    assure that *all* tables and such are removed before
    we start to free. This won't protect the Hash in ip_input.c
    but in theory should protect any other uses that *do* use locks.
    MFC after:	1 week (or more)
  7. Fix two problems with pmap_clear_modify().

    alc authored
    First, pmap_clear_modify() is write protecting all mappings to the specified
    page, not just clearing the modified bit.  Specifically, it sets PTE_RO on
    the PTE, which is wrong.  Moreover, it is calling vm_page_dirty(), which is
    not the expected behavior for pmap_clear_modify().  Generally speaking, the
    machine-independent VM layer masks these mistakes.  For example, setting
    PTE_RO will result in additional soft faults, but not a catastrophe.
    Second, pmap_clear_modify() may not clear the modified bits because it only
    iterates over the PV list when the page has the PV_TABLE_MOD flag set and
    elsewhere the pmap clears the PV_TABLE_MOD flag anytime a modified mapping
    is write protected or destroyed.  However, the page may still have other
    mappings with the modified bit set.
    Eliminate a stale comment.
  8. @rpaulo

    The GPIO drivers were initialising their mutexes with type of

    rpaulo authored
    MTX_NETWORK_LOCK. This is wrong since these mutexes have nothing to do
    with networking.
  9. regen.

    davidxu authored
  10. Correct a regression introduced during the import of file(1) 5.11.

    mckay authored
    Magic tests containing "search" or "regex" directives were incorrectly
    compiled by "mkmagic" and were effectively ignored.  This caused troff
    files (for example) to be detected as simply "ASCII text" instead of
    as "troff or preprocessor input, ASCII text".
    PR:		bin/170415
    Approved by:	consensus on developers@
    MFC after:	3 days
  11. Implement syscall clock_getcpuclockid2, so we can get a clock id

    davidxu authored
    for process, thread or others we want to support.
    Use the syscall to implement POSIX API clock_getcpuclock and
    PR:	168417
  12. The TCP PAWS fix for kernels with fast tick rates (r231767) changed t…

    lstewart authored
    …he TCP
    timestamp related stack variables to reference ms directly instead of ticks.
    The h_ertt(4) Khelp module relies on TCP timestamp information in order to
    calculate its enhanced RTT estimates, but was not updated as part of r231767.
    Consequently, h_ertt has not been calculating correct RTT estimates since
    r231767 was comitted, which in turn broke all delay-based congestion control
    algorithms because they rely on the h_ertt RTT estimates.
    Fix the breakage by switching h_ertt to use tcp_ts_getticks() in place of all
    previous uses of the ticks variable. This ensures all timestamp related
    variables in h_ertt use the same units as the TCP stack and therefore results in
    meaningful comparisons and RTT estimate calculations.
    Reported & tested by:	Naeem Khademi (naeemk at ifi uio no)
    Discussed with:	bz
    MFC after:	3 days
  13. Make 'junk' volatile so that compilers won't be tempted to optimize

    kevlo authored
    Reviewed by:	ache
    MFC after:	3 days
  14. Support for TCP DDP (Direct Data Placement) in the T4 TOE module.

    np authored
    Basically, this is automatic rx zero copy when feasible.  TCP payload is
    DMA'd directly into the userspace buffer described by the uio submitted
    in soreceive by an application.
    - Works with sockets that are being handled by the TCP offload engine
      of a T4 chip (you need t4_tom.ko module loaded after cxgbe, and an
      "ifconfig +toe" on the cxgbe interface).
    - Does not require any modification to the application.
    - Not enabled by default.  Use hw.t4nex.<X>.toe.ddp="1" to enable it.
Commits on Aug 16, 2012
  1. Initialize various DDP parameters in the main cxgbe(4) driver:

    np authored
    - Setup multiple DDP page sizes.  When the driver attempts DDP it will
      try to combine physically contiguous pages into regions of these sizes.
    - Set the indicate size such that the payload carried in the indicate can
      be copied in the header mbuf (and the 16K rx buffer can be recycled).
    - Set DDP threshold to the max payload that the chip will coalesce and
      deliver to the driver (this is ~16K by default, which is also why the
      offload rx queue is backed by 16K buffers).  If the chip is able to
      coalesce up to the max it's allowed to, it's a good sign that the peer
      is transmitting in bulk without any TCP PSH.
    MFC after:	2 weeks
  2. @juikim

    Merge ACPICA 20120816.

    juikim authored
  3. Make room for DDP page pods in the default configuration profile. While

    np authored
    here, bump up the L2 table's size to 4K entries.
    MFC after:	2 weeks
  4. Add a routine (t4_set_tcb_field) to update arbitrary parts of a hardware

    np authored
    TCB.  Filters are programmed by modifying the TCB too (via a different
    routine) and the reply to any TCB update is delivered via a
    CPL_SET_TCB_RPL.  Figure out whether the reply is for a filter-write or
    something else and route it appropriately.
    MFC after:	2 weeks
  5. - Typo fix

    gonzo authored
    - style(9) fix
    Spotted by: kib@, Andrey Zonov
  6. Allow for a different handler for each type of firmware message.

    np authored
    MFC after:	2 weeks
  7. @bsdjhb

    Remove D_NEEDGIANT from dead_devsw. biofinish() (and thus dead_strategy)

    bsdjhb authored
    does not need Giant.
    MFC after:	1 month
  8. Its never a good idea to double free the same

    rrs authored
    MFC after:	1 week (after the other commits ahead of this gets MFC'd)
  9. @juikim

    Import ACPICA 20120816.

    juikim authored
  10. @bsdjhb

    Add locking for sscdisk(4) and mark it MPSAFE. Since this driver just

    bsdjhb authored
    makes calls out to the emulator, the locking is fairly simple.  A global
    mutex protects the list of ssc disks, and each ssc disk has a mutex
    to protect it's bioq.
    Approved by:	marcel
  11. On lun disable, complete all INOTs and ATIOs with CAM_REQ_ABORTED.

    mjacob authored
    Reviewed by:	ken (silently), chuck
    MFC after:	3 weeks
  12. @kostikbel

    As a safety measure, disable lowering pid_max too much.

    kostikbel authored
    Requested by:	Peter Jeremy <>
    MFC after:	1 week
  13. @kostikbel

    Fix grammar.

    kostikbel authored
    Submitted by:	jh
    MFC after:	1 week
  14. @dag-erling

    - When running out of swzone, instead of spewing an error message every

    dag-erling authored
      tick until the situation is resolved (if ever), just print a single
      message when running out and another when space becomes available.
    - When adding more swap, warn if the total amount exceeds half the
      theoretical maximum we can handle.
  15. @amotin

    Fix "speaker" volume control, broken at r230451.

    amotin authored
    Reported and tested by:	Slawa Olhovchenkov <>
    MFC after:	1 month
  16. Add comment why the code has been disabled.

    ae authored
    Requested by:	rpaulo
Something went wrong with that request. Please try again.