Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 28, 2015
  1. kernel: Mark sigexit() and cpu_halt() as not returning.

    Sascha Wildner authored
  2. drm/i915: Sync i915_gem.c with Linux 3.11

    François Tigeot authored
    * Make the GEM code more similar to Linux
    
    * Replace i915_gem_shmem_pread() by the OpenBSD implementation
      (i915_gem.c revision 1.85)
    
    * The rest of the changed code is based on Linux 3.11
  3. hammer2 - Add extra debugging

    Matthew Dillon authored
    * Enable DMsgDebugOpt if -d is specified twice.
  4. libdmsg - Fix memory leak

    Matthew Dillon authored
    * Fix a memory leak in the message relay code.  When relaying a message
      we just transfer the aux_data pointer to the relay message.  The
      allocation of the relay message was also allocate aux_data space which
      was getting thrown away and not freed.
  5. hammer2 / kern_dmsg - Fix bugs

    Matthew Dillon authored
    * Fix header size limt check.
    
    * Do not free the message data out from under a running I/O.
      Introduce an API for detaching aux_data from a msg.
    
    * Increase DMSG_AUX_MAX to 1MB to ensure that xdisk (remote disks)
      work with any filesystem.
    
      Theoretically we can break up READ and WRITE messages into pieces
      in order to allow DMSG_AUX_MAX to be made smaller (which is easier
      to manage in-kernel), but for now the implementation just uses a
      single message transaction.
    
    * Adjust some comments.
  6. libdmsg - Fix buffer indexing bug in crypted path

    Matthew Dillon authored
    * Fix a buffering index bug in the crypted path which causes a buffer
      overrun and/or implodes the connection on a protocol error.
  7. kernel: Remove unused xwait headers.

    Sascha Wildner authored
    xsleep/xwakeup were added to DragonFly in 2003 to replace asleep/awakeup
    from FreeBSD 4.x. tsleep & wakeup sleep on untyped identifiers; the sleep
    routines do not store through the identifiers and treat them as opaque.
    xsleep/xwakeup in contrast slept on explicit sleep structures,
    'struct xwait'.
    
    xsleep / xwakeup were never used; they were born #if-0ed out and were
    removed by 2004. This commit removes a legacy declaration and associated
    header.
    
    Submitted-by:  vsrinivas
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2786>
  8. kernel: Remove unused hogticks global from kern_synch.c.

    Sascha Wildner authored
    hogticks was a global definition used in kern_synch.c:should_yield().
    A thread that had remained running for more than hogticks would
    return true for should_yield(). DragonFly has not used this global
    for a long time.
    
    Submitted-by:  vsrinivas
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/2787>
  9. drm: Add asm/uaccess.h functions

    François Tigeot authored
    * __copy_to_user() and __copy_from_user(), obtained from OpenBSD
    
    * __copy_to_user_inatomic() and __copy_from_user_inatomic_nocache(),
      obtained from FreeBSD
  10. drm: Import drm_memory.h from Linux 3.11

    François Tigeot authored
  11. drm: Add drm_clflush_virt_range()

    François Tigeot authored
    Obtained-from: Linux 3.11
  12. drm: linux/mm.h: Add offset_in_page()

    François Tigeot authored
    Obtained-from: OpenBSD
  13. xdisk - disk_setdiskinfo() must be assynchronous

    Matthew Dillon authored
    * Allow CMD_BUF_READ operations without the device having to be open.
      This allows disk probes to occur.
    
    * Use disk_setdiskinfo(), which is asynchronous, to avoid an I/O deadlock
      because the call is made from the rxmsg loop.  If it were to issue I/O
      synchronously we would deadlock and never process the reply.
  14. libdmsg - add safeties

    Matthew Dillon authored
    * Preinitialize return counters to 0 as a safety.  Not required for proper
      operation.
  15. libdmsg - Fix buffer overrun

    Matthew Dillon authored
    * Large messages (generally large data payloads) could overrun the FIFO
      buffer.  e.g. dd if=/dev/xa<blah> of=/dev/null bs=32k
    
    * Fix by chunking up large payloads.
Commits on Feb 27, 2015
  1. Imre Vadász

    acpi_video(4): Fix detach panic.

    ivadasz authored
    * The "if ((adr & DOD_DEVID_MASK_FULL) == DOD_DEVID_LCD)" test from
      acpi_video_vo_init was missing in acpi_video_vo_destroy. This meant
      that on some machines we ended up calling STAILQ_REMOVE with an element
      not contained in the list, which causes a panic since STAILQ_REMOVE
      doesn't check for the end of the list.
  2. Markus Pfeiffer

    net/if_lagg: Fix double-free issue

    Markus Pfeiffer authored markuspf committed
  3. gcc50: Update to 27 Feb 2015 snapshot (SVN 221044)

    John Marino authored
  4. Merge branch 'vendor/GCC50'

    John Marino authored
  5. Update gcc-50 to SVN version 221044

    John Marino authored
    Last Changed Date: 2015-02-27 09:37:51 +0100 (Fri, 27 Feb 2015)
  6. acpi/pstate: Allow user to force package level P-state domain

    Sepherosa Ziehau authored
    Some CPUs only have package P-states, but some BIOSes put each
    hyperthread to its own P-state domain; allow user to override.
    It is not enabled by default.
Commits on Feb 26, 2015
  1. sbin/newfs_hammer: Properly set ondisk localization value

    Tomohiro Kusumi authored
    - Make hammer_newfs properly set ondisk localization for the first
      two elements (for root inode and PFS) of the root node.
    
    - HAMMER does cursor lookup using sum of onmemory ip(inode) localization
      and localization type, so in this case hammer_newfs needs to write
      ondisk bits using (HAMMER_DEF_LOCALIZATION + type) instead of just
      a type (see hammer_get_inode() and hammer_load_pseudofs() for details).
    
    - It makes no binary difference since HAMMER_DEF_LOCALIZATION is 0,
      however it should be fixed for the consistency (e.g. if the macro
      happens to be defined differently, although it is not likely as it
      forces ondisk layout change).
  2. sys/vfs/hammer: Fix and add comments on root inode

    Tomohiro Kusumi authored
    - hunk1 - The root inode uses HAMMER_DEF_LOCALIZATION for its
      onmemory ip(inode) localization, however the purpose of this macro
      is not documented anywhere. Make it clear by adding this comment.
    
    - hunk2 - Show HAMMER_OBJID_ROOT is the root inode # for both real
      root inode and PFS root inodes.
    
    - hunk3-4 - Change "stored in the root inode" to "associated with
      the root inode". PFS records are not embedded within the ondisk
      inode structure, but associated with the root inode by id.
      Commit ea434b6 uses "associated with" in its commit message.
  3. Nuke /usr/share/examples/cvsup.

    Sascha Wildner authored
    Now that i386 is no longer supported we can't even run an old FreeBSD
    cvsup binary anymore, so all this has become completely pointless.
    
    FreeBSD has since switched to SVN, NetBSD's repository can be
    rsync'ed, about OpenBSD I am not sure though. There are git repos
    of various BSDs too.
  4. Markus Pfeiffer

    netif/if_lagg: Fix panic on MOD_UNLOAD

    markuspf authored
    Remove one instance of if_clone_detach being called.
    
    Reported-By: bycn82 <bycn82@gmail.com>
  5. devd(8): Add -Wno-unused-local-typedefs to CFLAGS for now.

    Sascha Wildner authored
    The issue is that with -Wunused-local-typedefs, our GCC 5.0 warns about
    unused local typedefs in its own headers, in this case stl_algo.h which
    comes in via <algorithm>, which devd(8) includes.
    
    Example:
    
    c++ [...] -Werror -Wall [...] -c devd.cc
    In file included from /usr/include/c++/5.0/bits/stl_algo.h:61:0,
                     from /usr/include/c++/5.0/algorithm:62,
                     from devd.cc:93:
    /usr/include/c++/5.0/bits/stl_heap.h: In function 'void std::pop_heap(_RAIter, _RAIter)':
    /usr/include/c++/5.0/bits/stl_heap.h:266:2: error: typedef '_ValueType' locally defined but not used [-Werror=unused-local-typedefs]
      _ValueType;
      ^
    [...]
    
    More typedefs are warned about, _InputValueType, _OutputValueType, and
    _DistanceType.
  6. bmake.1: Add missing newline.

    Sascha Wildner authored
Commits on Feb 25, 2015
  1. Fix 'make upgrade'.

    Sascha Wildner authored
    Seems sys.mk is pulled in for 'make upgrade' too and CCVER isn't defined
    at this point.
    
    Reported-by: Robin Hahling <robin.hahling@gw-computing.net>
  2. coretemp(4): Add MODULE_VERSION.

    Sascha Wildner authored
  3. sys/vfs/hammer: conform to style(9)

    Tomohiro Kusumi authored
    - Remove #include <sys/types.h>
    
    - Kernel include files (i.e. sys/*.h) come first;
      normally, include <sys/types.h> OR <sys/param.h>, but not both.
    
    - Spotted-by: sephe
      http://lists.dragonflybsd.org/pipermail/commits/2015-February/417986.html
  4. devd(8): Raise WARNS back to 5.

    Sascha Wildner authored
  5. gcc50: Exclude -Wunused-local-typedefs from C++ flags for now.

    Sascha Wildner authored
    At least GCC 5.0 is warning on its own C++ includes (stl_algo.h,
    via <algorithm>) if -Wextra is set, breaking the build of programs
    which do nothing wrong themselves (such as devd(8)).
    
    When this gets fixed, we can revert this commit again.
    
    Note that I didn't check with GCC 4.8 or 4.9.
Something went wrong with that request. Please try again.