Displaying 1 50 of 31,773 commits (0.052s)

DragonFlyBSD — sys/dev/drm/i915 i915_gem.c i915_drv.h

drm/i915: Rename mm.gtt_list to bound_list

Reducing differences with Linux 3.8.13.

DragonFlyBSD — sys/dev/disk/nata ata-queue.c atapi-cam.c

kernel - Fix boot-time panic in NATA revealed by new callout mechanics

* The NATA driver was using spin locks in a very, very dangerous way.
  They did not play nice with the new blocking callout mechanism.

* Replace all of NATAs spinlocks with lockmgr locks.  In addition, change
  all asynchronous callout_stop() calls to synchronous callout_stop_sync()
  calls, and use callout_init_lk() to auto-lock ch->state_lock for the
  callback, which fixes a long-time deadlock race.

Reported-by: tuxillo

DragonFlyBSD — sys/vfs/procfs procfs_map.c

kernel - Show ukmap in /proc/*/map output

* /proc/*/map now displays uksmap mappings.
Delta File
+27 -12 sys/vfs/procfs/procfs_map.c
+27 -12 1 file

DragonFlyBSD — sys/vm vm_fault.c

    Merge branch 'DragonFly_RELEASE_4_0' of 
ssh://crater.dragonflybsd.org/repository/git/dragonfly into DragonFly_RELEASE_4_0
∈ Matthew Dillon - b4cc0da6 - 2014-11-25 18:57:13
kernel - Fix panic on upmap/kpmap read via procfs.

* Fix a panic when upmap/kpmap is accessed via procfs.
Delta File
+29 -0 sys/vm/vm_fault.c
+29 -0 1 file

DragonFlyBSD — sys/vm vm_fault.c

kernel - Fix panic on upmap/kpmap read via procfs.

* Fix a panic when upmap/kpmap is accessed via procfs.

Reported-by: Joris Giovannangeli
Delta File
+29 -0 sys/vm/vm_fault.c
+29 -0 1 file

DragonFlyBSD — sys/bus/u4b usb_util.c

kernel - Fix callout deadlock in u4b

* Fix a deadlock which could freeze systems prior to the callout work and
  cause X to deadlock (but not totally freeze a system) after the callout
  work.

* Use the new callout_init_lk() auto-locking feature to handle a particular
  usb callout.  This allows the callout to be canceled if it interferes with
  a frontend callout_reset() call and also fixes the related race.
Delta File
+6 -4 sys/bus/u4b/usb_util.c
+6 -4 1 file

DragonFlyBSD — sys/kern kern_timeout.c, sys/netinet sctp_callout.h

kernel - Implement new callout*() core

* Rewrite the callout*() function core to run more efficiently.
  This has a much better mechanism for locking a callout to a
  cpu and for dealing with synchronous waits for callbacks to
  complete.

  The IPI busy/wait loop has been removed for remote-cpu operations.
  The code now blocks normally and callers will have to understand that.
  This will make it a lot easier to debug races.

* Add callout_init_lk() which implements auto-locking similar
  to FreeBSD.  Several FreeBSD mechanisms already depend on it
  and it will make porting easier.  And it works pretty well.

* Preparation for a more synchronous interface.

* Note that the new API is roughly similar to the old
  except callout_reset() now issues a synchronous stop
  instead of an asynchronous stop.  Soon we will also
  switch around the function names to make MP operation
  and synchronous operation the default across the
  board.
Delta File
+604 -218 sys/kern/kern_timeout.c
+110 -18 sys/sys/callout.h
+2 -0 sys/netinet/sctp_callout.h
+716 -236 3 files

DragonFlyBSD — sys/boot/common help.common

    loader: Fix typos in help.common

    - ahci(4) doesn't use .0 for disable hint
    - fix slice name in example
Delta File
+3 -3 sys/boot/common/help.common
+3 -3 1 file

DragonFlyBSD — sys/boot/common help.common

    loader: Fix XHCI description in help.common
Delta File
+4 -3 sys/boot/common/help.common
+4 -3 1 file

DragonFlyBSD — sys/contrib/dev/acpica/source/include/platform acdragonfly.h, sys/dev/acpica/Osd OsdMemory.c

kernel/acpi: Provide a local AcpiOsAllocateZeroed().

DragonFlyBSD — sys/dev/drm/include/drm drmP.h, sys/dev/drm/include/linux moduleparam.h module.h

drm: Add linux/module.h and linux/moduleparam.h

Obtained-from: FreeBSD/OFED

DragonFlyBSD — sys/kern uipc_msg.c, sys/net netmsg.h

netmsg: ctlinput is proto message not a proto-user message
Delta File
+2 -2 sys/net/netmsg.h
+1 -1 sys/kern/uipc_msg.c
+3 -3 2 files

DragonFlyBSD — sys/netinet in_proto.c

igmp: IGMP processing mpsafe
Delta File
+1 -1 sys/netinet/in_proto.c
+1 -1 1 file

DragonFlyBSD — sys/netinet ip_demux.c

udp: Fix parameter order of udp_addrcpu()
Delta File
+2 -2 sys/netinet/ip_demux.c
+2 -2 1 file

DragonFlyBSD — sys/dev/drm/i915 i915_gem.c

drm/i915: revert part of "Make the GEM code more Linux-like"

This reverts part of commit d1c259eee6a290aadce1c78a746e131034aba76a
drm/i915: Make the GEM code more Linux-like

According to issue #2733 this code was causing ring initialization
failures on some machines.
Delta File
+47 -36 sys/dev/drm/i915/i915_gem.c
+47 -36 1 file

DragonFlyBSD — secure/usr.bin/ssh Makefile, secure/usr.sbin/sshd Makefile

World: Remove the X11BASE variable

Requested-by: marino

DragonFlyBSD — secure/usr.bin/ssh Makefile, secure/usr.sbin/sshd Makefile

World: Remove the X11BASE variable

Requested-by: marino

DragonFlyBSD — secure/usr.bin/ssh Makefile, secure/usr.sbin/sshd Makefile

OpenSSH: Correctly set xauth's path (2/2)

X11BASE is used internally by dports and setting it globally
can be dangerous.
Only define this variable in the OpenSSH makefiles.

DragonFlyBSD — secure/usr.bin/ssh Makefile, secure/usr.sbin/sshd Makefile

OpenSSH: Correctly set xauth's path (2/2)

X11BASE is used internally by dports and setting it globally
can be dangerous.
Only define this variable in the OpenSSH makefiles.

DragonFlyBSD — usr.bin/netstat if.c netstat.1

-h (human-readable counters) for netstat

DragonFlyBSD — usr.bin/netstat if.c netstat.1

-h (human-readable counters) for netstat

DragonFlyBSD — share/mk sys.mk

OpenSSH: Correctly set xauth's path

Revision 111f4c913a18de9586649cc1a374240679ec903a saw the removal
of X11BASE from the tree.

Howewer, it is still required by ssh(1) and sshd(8) to set the
default location of xauth(1).

Put it back but change the value to /usr/local following the change
from pkgsrc to dports.
Delta File
+2 -0 share/mk/sys.mk
+2 -0 1 file

DragonFlyBSD — share/mk sys.mk

OpenSSH: Correctly set xauth's path

Revision 111f4c913a18de9586649cc1a374240679ec903a saw the removal
of X11BASE from the tree.

Howewer, it is still required by ssh(1) and sshd(8) to set the
default location of xauth(1).

Put it back but change the value to /usr/local following the change
from pkgsrc to dports.
Delta File
+2 -0 share/mk/sys.mk
+2 -0 1 file

DragonFlyBSD — sys/dev/agp intel-gtt.h agp_i810.c, sys/dev/drm/i915 i915_drv.h

drm: Move intel-gtt.h to include/drm

DragonFlyBSD — sys/netinet ip_demux.c ip_var.h

ipdemux: Remove 'direction' parameter

It is no longer needed/used.

DragonFlyBSD — sys/netinet ip_demux.c

udp: Don't mess w/ hardware RSS for IP fragments

ip_input() always checks RSS hash value for IP fragments, and there
is better chance that hardware calculates correct RSS hash value for
IP fragments.
Delta File
+0 -8 sys/netinet/ip_demux.c
+0 -8 1 file

DragonFlyBSD — sys/netinet udp_var.h

udp: udp_cport() has already been nuked
Delta File
+0 -1 sys/netinet/udp_var.h
+0 -1 1 file

DragonFlyBSD — sys/netinet tcp_subr.c ip_demux.c

tcp: Unitfy ctlinput and ctlport cmd/faddr/icmp_ip processing

DragonFlyBSD — sys/netinet udp_usrreq.c

udp: Fix parameter order of udp_addrcpu()
Delta File
+2 -2 sys/netinet/udp_usrreq.c
+2 -2 1 file

DragonFlyBSD — sys/netinet udp_usrreq.c ip_demux.c

udp: Unify ctlinput and ctlport cmd/faddr/icmp_ip processing

DragonFlyBSD — sys/netinet tcp_subr.c in_pcb.h, sys/netinet6 in6_pcb.h in6_pcb.c

inpcb: Define inp_notify_t

DragonFlyBSD — sys/dev/drm/ttm ttm_bo.c

drm/ttm: glob->lru_lock locking from Linux 3.9.11
Delta File
+4 -7 sys/dev/drm/ttm/ttm_bo.c
+4 -7 1 file

DragonFlyBSD — usr.sbin/service service.sh

service(8): Fix error message being displayed when invoking service

service(8) has been imported from FreeBSD. However, DragonFly rc(8) does
not have 'nojail', thus this would have no effect on the call to
rcorder(8).
Delta File
+6 -6 usr.sbin/service/service.sh
+6 -6 1 file

DragonFlyBSD — usr.sbin/service service.sh

service(8): Fix error message being displayed when invoking service

service(8) has been imported from FreeBSD. However, DragonFly rc(8) does
not have 'nojail', thus this would have no effect on the call to
rcorder(8).
Delta File
+6 -6 usr.sbin/service/service.sh
+6 -6 1 file

DragonFlyBSD — etc rc.subr, usr.sbin/service service.sh

rc.subr: Add function to find scripts in local_startup directories

* Add 'find_local_scripts()' function which is useful for
service(8).

* Fix reference to function in service.sh. This fixes two issues in
  service(8) for which 'service -e' and 'service -l' would simply fail
  to list local startup scripts.

'find_local_scripts()' has been imported from FreeBSD, where it is
called 'find_local_scripts_new()'.
Delta File
+18 -0 etc/rc.subr
+2 -2 usr.sbin/service/service.sh
+20 -2 2 files

DragonFlyBSD — etc rc.subr, usr.sbin/service service.sh

rc.subr: Add function to find scripts in local_startup directories

* Add 'find_local_scripts()' function which is useful for
service(8).

* Fix reference to function in service.sh. This fixes two issues in
  service(8) for which 'service -e' and 'service -l' would simply fail
  to list local startup scripts.

'find_local_scripts()' has been imported from FreeBSD, where it is
called 'find_local_scripts_new()'.
Delta File
+18 -0 etc/rc.subr
+2 -2 usr.sbin/service/service.sh
+20 -2 2 files

DragonFlyBSD — usr.sbin/service service.sh

service(8): Sync with FreeBSD.
Delta File
+2 -2 usr.sbin/service/service.sh
+2 -2 1 file

DragonFlyBSD — usr.sbin/service service.sh

service(8): Sync with FreeBSD.
Delta File
+2 -2 usr.sbin/service/service.sh
+2 -2 1 file

DragonFlyBSD — sys/dev/virtual/virtio/pci virtio_pci.c

virtio_pci: Use device_probe_and_attach(), instead of DEVICE_ATTACH().

* By directly calling DEVICE_ATTACH(), we didn't get automatically created
  sysctl nodes (added in 8e4d13764bdfc916c23fb22158c65e486dce631c), and
  we didn't get automatic dmesg messages on child driver attachement
  (e.g. "vtblk0: <VirtIO Block Adapter> on virtio_pci1") .

* Since we have no direct equivalent to FreeBSD's device_attach(), use
  device_probe_and_attach(). This means we do a vtpci_set_status() cycle
  even if no matching driver is found.

DragonFlyBSD — sys/dev/virtual/virtio/pci virtio_pci.c

virtio_pci: Use device_probe_and_attach(), instead of DEVICE_ATTACH().

* By directly calling DEVICE_ATTACH(), we didn't get automatically created
  sysctl nodes (added in 8e4d13764bdfc916c23fb22158c65e486dce631c), and
  we didn't get automatic dmesg messages on child driver attachement
  (e.g. "vtblk0: <VirtIO Block Adapter> on virtio_pci1") .

* Since we have no direct equivalent to FreeBSD's device_attach(), use
  device_probe_and_attach(). This means we do a vtpci_set_status() cycle
  even if no matching driver is found.

DragonFlyBSD — sys/kern kern_lock.c kern_sysctl.c, sys/sys lock.h

kernel - Add lock canceling features

* The current (typically exclusive) lock holder can enable cancel mode
  by executing lockmgr(lk, LK_CANCEL_BEG, 0).  This call always succeeds.
  The lock state is not otherwise affected.

  Any current threads blocked on the lock or any future thread which
  attempts to gain the lock, who also specify the LK_CANCELABLE flag,
  will be canceled as long as cancel mode is active and their operation
  will return ENOLCK.

  NOTE! Threads which do not specify LK_CANCELABLE are not affected by
        cancel mode and their blocking locks will block normally.

  WARNING!  Cancel mode is not stackable.  The system will panic if you
  enable cancel mode on a lock where it is already enabled.

* The current (typically exclusive) lock holder can terminate cancel mode
  by executing lockmgr(lk, LK_CANCEL_END, 0).  This call always succeeds.
  Once canceled, any other threads that would block on the lock and specify
  the LK_CANCELABLE flag will block normally and not be canceled.

  The current lock holder can also terminate cancel mode by simply releasing
  the last lock with LK_RELEASE.  That is, a release where the lock count
  returns to 0.

    [3 lines not shown]
Delta File
+113 -6 sys/kern/kern_lock.c
+61 -29 sys/sys/lock.h
+1 -1 sys/kern/kern_sysctl.c
+175 -36 3 files

DragonFlyBSD — sys/platform/pc64/include vmparam.h, sys/platform/vkernel64/include vmparam.h

kernel - Increase default MAXTSIZ from 128M to 256M

* Increase the default max text size from 128m to 256m.  Note that this
  value can also be overridden in /boot/loader.conf via kern.maxtsiz.

* Currently only chrome compiled w/ full debugging has a text size
  which exceeds 128M.  The normally compiled chrome is hitting 93MB
  though so we might as well up the limit now.

DragonFlyBSD — usr.sbin/installer/test libinstaller_test.c Makefile

installer: Add an initial testing tool.

- It forks the backend and runs the frontend on the parent
  process so all runs in one go.
- The idea is to be able to test certain functions from the
  installer without the need to run the whole thing.
- This is just the initial stuff!

DragonFlyBSD — sbin/dhclient dispatch.c

dhclient: Fix a busy loop

The ifi->linkstat variable seemed to be not updated after the poll
returns in dispatch.c. This might only be a hack, but it makes the
busylooping go away.
Delta File
+8 -0 sbin/dhclient/dispatch.c
+8 -0 1 file

DragonFlyBSD — sbin/dhclient dispatch.c

dhclient: Fix a busy loop

The ifi->linkstat variable seemed to be not updated after the poll
returns in dispatch.c. This might only be a hack, but it makes the
busylooping go away.
Delta File
+8 -0 sbin/dhclient/dispatch.c
+8 -0 1 file

DragonFlyBSD — share/man/man4 msk.4

msk.4: Document that MSI is turned off by default.
Delta File
+5 -3 share/man/man4/msk.4
+5 -3 1 file

DragonFlyBSD — share/man/man4 msk.4

msk.4: Document that MSI is turned off by default.
Delta File
+5 -3 share/man/man4/msk.4
+5 -3 1 file

DragonFlyBSD — sys/dev/sound/pcm channel.c

sound/pcm - Attempt to fix 'play interrupt timeout, channel dead' error

* Fix the timeout calculation to properly calculate the buffering
  timeout.

* Adjusted code taken from bug 2067 submission.

PR: 2067
Delta File
+18 -4 sys/dev/sound/pcm/channel.c
+18 -4 1 file

DragonFlyBSD — sys/dev/sound/pcm channel.c

sound/pcm - Attempt to fix 'play interrupt timeout, channel dead' error

* Fix the timeout calculation to properly calculate the buffering
  timeout.

* Adjusted code taken from bug 2067 submission.

PR: 2067
Delta File
+18 -4 sys/dev/sound/pcm/channel.c
+18 -4 1 file

DragonFlyBSD — sys/netinet ip_carp.c

carp: ctlinput method only processes PRC_IFDOWN and PRC_IFUP
Delta File
+5 -1 sys/netinet/ip_carp.c
+5 -1 1 file