Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 25, 2015
  1. kernel - Change bundirty() location in I/O sequence (2)

    Matthew Dillon authored
    * The bundirty() move interfered with softupdates because
      the buf_complete() callback can re-dirty the buffer.
    * Fixed by moving the bundirty() prior to the buf_complete()
    Reported-by: marino
  2. net80211 - Add dofbsddiff script

    Matthew Dillon authored
    * Add helper script to the repo so it isn't lost.
    * Helps diff DFly and FBsd 80211 code for work.
  3. hammer2 - stabilization

    Matthew Dillon authored
    * Fix more deadlocks.  The solution here is not ideal, I'm doing too much
      unlocking and relocking of clusters and probably breaking certain atomicy
    * Implement a delayed flush mechanism when making permanent chain deletions
      instead of calling hammer2_flush().  This should allow the flush code to
      better optimize-out unnecessary write I/Os.
    * Add a spinlock for the ip->cluster (not completed yet).
    * I had broken system-initated filesystem syncing by calling vclrisdirty()
      on the syncer vnode.  Fix it.
  4. gcc50: bump version date to 25 May 2015

    John Marino authored
    The base compiler gains all the fixes over the last 5 weeks since
    GCC 5.1 was released.  This could fix a couple of issues in dports.
  5. Merge branch 'vendor/GCC50'

    John Marino authored
  6. Update gcc-50 to SVN version 223641 (gcc-5-branch)

    John Marino authored
    Last Changed Date: 2015-05-25 02:16:10 +0200 (Mon, 25 May 2015)
  7. systat.1: Update sensors display specific commands

    Sepherosa Ziehau authored
  8. ecc.4: Update for the recent ecc(4) changes

    Sepherosa Ziehau authored
  9. memtemp.4: Update for the recent sensor description change

    Sepherosa Ziehau authored
  10. coretemp.4: Update for the recent sensor description change

    Sepherosa Ziehau authored
  11. dirfs - only expose inlines to the kernel

    Matthew Dillon authored
    * Only expose inlines to kernel code, user code can get tripped up on
      things like KKASSERT().
  12. hammer2 - Refactor cluster locks, syncthr fixes, cleanups

    Matthew Dillon authored
    * Do not resolve the cluster when locking and unlocking.  This led to
      problems when cparents used in iterations were being temporarily unlocked,
      because their nodes represent the iteration in the physical topology
      so the resolve might fail when relocked.
      Instead, resolution occurs with all cluster creation mechanics.  So, e.g.
      hammer2_cluster_lookup() and hammer2_cluster_next() will resolve the
      cluster being returned.
    * Change hammer2_cluster_copy() semantics to inherit focus state and not
      call hammer2_cluster_resolve(), for the same reason as above.
    * A cluster iteration usually returns NULL when the focus is lost, e.g.
      when only unsynchronized slaves remain.  Add a flag so the sync thread
      can iterate the cluster until all nodes are exhausted.
    * Cleanup focus handling for the cluster iterator.  Move the bref compare
      to the resolver and get rid of the manual compare code in the iterator.
    * Fix a locking flags bug in the cluster iterator.
    * Fix numerous deadlocks.  Mostly requires unlocking the whole cluster before
      looping the iterator for new elements, so later indexes are not held locked
      while working on earlier indexes.
    * Fix numerous issues in syncthr, in particular only repoint the index
      of the cluster the syncthr is managing when updating the inode to avoid
      clashes with inode updates from other syncthrs.
    * Change the way HAMMER2_CITEM_INVALID works in syncthr so we can be
      more hard-nosed about it in the cluster iterator.  Generally speaking
      we clear the INVALID bit when synchronizing a new element, even if it is
      a recursion and modify_tid cannot be immediately set.
Commits on May 24, 2015
  1. Remove unused file.

    Sascha Wildner authored
  2. kernel/acpi_wmi: Move wmi_info_list into sc.

    Sascha Wildner authored
    Taken-from: FreeBSD
  3. vi(1): Remove a no longer used file.

    Sascha Wildner authored
  4. drm: Add linux/ktime.h

    François Tigeot authored
  5. kernel - Add utimensat() support

    Matthew Dillon authored
    * Brings in utimensat() from FreeBSD, adjusted for DragonFly system
      call mechanics.
    Submitted-by: stateless #2818
Commits on May 23, 2015
  1. drm/i915: Fix a __raw_i915_read32() definition

    François Tigeot authored
    We don't have pci_iomap() yet so registers can't be properly mapped
    in the Linux way.
  2. drm: Put abs64 definition in the right place

    François Tigeot authored
  3. drm/linux: Add a few smp_mb_xxx_atomic_inc() functions

    François Tigeot authored
  4. linux/i2c.h: Properly define struct device

    François Tigeot authored
  5. drm/linux: Add TASK_COMM_LEN

    François Tigeot authored
  6. drm/linux: Add mod_timer_pinned()

    François Tigeot authored
  7. drm/linux: define destroy_timer_on_stack()

    François Tigeot authored
  8. drm/linux: define ETIME

    François Tigeot authored
Commits on May 22, 2015
  1. drm/linux: Implement DEFINE_MUTEX()

    François Tigeot authored
  2. drm/linux: Add set_pages_uc()

    François Tigeot authored
  3. WORLD_CCVER: Fix buildworld with clangXX

    John Marino authored
    The backtrace library requires unwind.h to build.  This file was never
    created, so the base GCC's would fall back to the version in /usr/libdata.
    Clang compilers from ports don't have unwind.h so they were failing on the
    world build (building gcc50).  This modification makes unwind.h available
    for backtrace.c and allows the build to complete with WORLD_CCVER=clang36
  4. kernel - Change cpu_idle_hlt default

    Matthew Dillon authored
    * Set cpu_idle_hlt default to 1 for Intel Haswell or later cpus.  These
      cpus do major power management in the HLT instruction.
      Leave cpu_idle_hlt default at 2 for AMD cpus or older Intel cpus.
      These cpus do not do major management in the HLT instruction and ACPI
      entry is required to reduce idle power consumption.
  5. hammer2 - Fix hammer2_cluster_load_async() issue

    Matthew Dillon authored
    * Fix a hammer2_cluster_load_async() issue. Old code hardwired the cluster
      index to 0, but this might not be a validated chain.  Use cluster->focus
Commits on May 21, 2015
  1. drm: Improve mutex_lock_interruptible() again

    François Tigeot authored
    It should really be interruptible by signals
    Spotted-by: dillon
  2. drm/linux: Add get_page()

    François Tigeot authored
  3. ipfw3.8: Some cleanup.

    Sascha Wildner authored
  4. kernel - Change bundirty() location in I/O sequence

    Matthew Dillon authored
    * When doing a write BIO, do not bundirty() the buffer prior to issuing
      the vn_strategy().  Instead, bundirty() the buffer when the I/O
      is complete, primarily in bpdone().
      The I/O's data buffer is protected during the operation by vfs_busy_pages(),
      so related VM pages cannot be modified while the write is running.  And,
      of course, the buffer itself is locked exclusively for the duration of the
      opeartion.  Thus this change should NOT introduce any redirtying races.
    * This change ensures that vp->v_rbdirty_tree remains non-empty until all
      related write I/Os have completed, removing a race condition for code
      which checks vp->v_rbdirty_tree to determine e.g. if a file requires
      synchronization or not.
      This race could cause problems because the system buffer flusher might
      be in the midst of flushing a buffer just as a filesystem decides to
      sync and starts checking vp->v_rbdirty_tree.
    * This should theoretically fix a long-standing but difficult-to-reproduce
      bug in HAMMER1 where a backend flush occurs at an inopportune time.
Something went wrong with that request. Please try again.