kernel - Incidental MPLOCK removal (non-performance)* Remove the MPLOCK in a ton of places that don't need it or can be trivially tokenized or locked.* Mostly non-performance adjustments, thoug
kernel - Incidental MPLOCK removal (non-performance)* Remove the MPLOCK in a ton of places that don't need it or can be trivially tokenized or locked.* Mostly non-performance adjustments, though the X server does use scmouse or sysmouse.
show more ...
kernel/disk: Remove some unused variables and add __debugvar.
kernel: Remove newlines from the panic messages that have one.panic() itself will add a newline.
Kernel - Completely remove DFLTPHYS* There is no need to have two different macros define the maximum allowed IO size for low-level operations; replace DFLTPHYS by MAXPHYS in the entire kernel.
Kernel - Completely remove DFLTPHYS* There is no need to have two different macros define the maximum allowed IO size for low-level operations; replace DFLTPHYS by MAXPHYS in the entire kernel.* Old drivers typically used DFLTPHYS without a second thought, assuming it would always be the same value; they may have hard limitations and break if bigger I/O sizes are suddenly used. Be sure to explicitely limit their maximum allowed I/O size to 64KB and keep them working.
kernel: Use bioq_takefirst() in a few more places.
kernel: Use NULL for pointers.
kernel: Replace all usage of MALLOC()/FREE() with kmalloc()/kfree().
kernel - Provide descriptions for lwkt.* and debug.* sysctl's* Take the opportunity to chop a few dead sysctl's as wellSubmitted-by: Taras KlaskovskySponsored-by: Google Code-In
Remove useless .PATH targets from kernel module Makefiles.All these came in from FreeBSD which keeps their module Makefiles insys/modules (that is, separate from the source). We don't, so they are
Remove useless .PATH targets from kernel module Makefiles.All these came in from FreeBSD which keeps their module Makefiles insys/modules (that is, separate from the source). We don't, so they arenot needed.
kernel: Remove most definitions of CDEV_MAJOR.These are no longer needed since we have devfs.A few are left in because they are added to the order in SYSINIT()s.This needs further investigation.
udev - Tag some subsystems/drivers* While here, fix a number of bugs in the udev kernel implementation.
md(4) - Several fixes to make the module loading/unloading work properly.Previously, md(4) crashed the system. It produced inconsistencies dueit wasn't registered as a module, thus allowing to be
md(4) - Several fixes to make the module loading/unloading work properly.Previously, md(4) crashed the system. It produced inconsistencies dueit wasn't registered as a module, thus allowing to be kldloaded evenwhen it was compiled in on kernel.Reported-by : Sascha Wildner and many peopleLots-of-help : Alex HornungDragonfly-bug: <http://bugs.dragonflybsd.org/issue174>
md - when setdiskinfo, also set no of blocks* Before calling disk_setdiskinfo, make sure that the number of blocks is also set or no probing will be triggered at that point.* Also disable setdi
md - when setdiskinfo, also set no of blocks* Before calling disk_setdiskinfo, make sure that the number of blocks is also set or no probing will be triggered at that point.* Also disable setdiskinfo on open, as it shouldn't be needed.* Fix nomenclature md0c -> md0s0.* This also fixes root mount from md disk image.Reported By: Alexander PolakovDragonfly-bug: http://bugs.dragonflybsd.org/issue1522
DEVFS - Bring in Alex's GSOC kernel adjustments.This is a rollup commit bringing in Alex Hornung's GSOC adjustmentsto the main kernel codebase for DEVFS.Submitted-by: Alex Hornung <ahornung@gmai
DEVFS - Bring in Alex's GSOC kernel adjustments.This is a rollup commit bringing in Alex Hornung's GSOC adjustmentsto the main kernel codebase for DEVFS.Submitted-by: Alex Hornung <ahornung@gmail.com>
kmod.mk: Remove some dead code supposed to handle modules' manual pages.It was ignored previously and since we do not keep kernel relatedmanual pages in sys/ the whole idea is bogus anyway.
AMD64 - Fix many compile-time warnings. int/ptr type mismatches, %llx, etc.
Remove unused variables.Found-by: LLVM/Clang Static Analyzer
For kmalloc(), MALLOC() and contigmalloc(), use M_ZERO instead ofexplicitly bzero()ing.Reviewed-by: sephe
Set si_iosize_max to silence run-time warnings.Reported-by: Vincent Stemen <vs1@crel.us>
Fix a coding mistake when dequeueing memory disk BIOs.Reported-by: "km b" <kmb810@gmail.com>
Continue untangling the disklabel. Have most disk device drivers fill outand install a generic disk_info structure instead of filling out randomfields in the disklabel.The generic disk_info stru
Continue untangling the disklabel. Have most disk device drivers fill outand install a generic disk_info structure instead of filling out randomfields in the disklabel.The generic disk_info structure uses a 64 bit integer to representthe media size in bytes or total sector count.
Rename printf -> kprintf in sys/ and add some defines where necessary(files which are used in userland, too).
Change the kernel dev_t, representing a pointer to a specinfo structure,to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was takenfrom FreeBSD. Remove the dev_t shim for the ker
Change the kernel dev_t, representing a pointer to a specinfo structure,to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was takenfrom FreeBSD. Remove the dev_t shim for the kernel.This commit generally removes the overloading of 'dev_t' between userland andthe kernel.Also fix a bug in libkvm where a kernel dev_t (now cdev_t) was not beingproperly converted to a userland dev_t.
MASSIVE reorganization of the device operations vector. Change cdevswto dev_ops. dev_ops is a syslink-compatible operations vector structuresimilar to the vop_ops structure used by vnodes.Remov
MASSIVE reorganization of the device operations vector. Change cdevswto dev_ops. dev_ops is a syslink-compatible operations vector structuresimilar to the vop_ops structure used by vnodes.Remove a huge number of instances where a thread pointer is still beingpassed as an argument to various device ops and other related routines.The device OPEN and IOCTL calls now take a ucred instead of a thread pointer,and the CLOSE call no longer takes a thread pointer.
* Remove the following obsolete options from the system: AAC_COMPAT_LINUX ACPI_MAX_THREADS AVM_A1_PCI CD9660_ROOT CPU_UPGRADE_HW_CACHE DEBUG_LINUX DEBUG_TOKENS DPT_ALLOW_MEMIO IDE_
* Remove the following obsolete options from the system: AAC_COMPAT_LINUX ACPI_MAX_THREADS AVM_A1_PCI CD9660_ROOT CPU_UPGRADE_HW_CACHE DEBUG_LINUX DEBUG_TOKENS DPT_ALLOW_MEMIO IDE_DELAY INVARIANT_SUPPORT KERNFS MFS_ROOT MFS_ROOT_SIZE NTIMECOUNTER OLTR_NO_BULLSEYE_MAC OLTR_NO_HAWKEYE_MAC OLTR_NO_TMS_MAC UGEN_DEBUG UHCI_DEBUG UHID_DEBUG UHUB_DEBUG UKBD_DEBUG ULPT_DEBUG UMASS_DEBUG UMS_DEBUG VM_KMEM_SIZE VM_KMEM_SIZE_MAX VM_KMEM_SIZE_SCALE* Add numerous options to LINT* Fix typo in options: TWA_FLASH_FIREWARE -> TWA_FLASH_FIRMWARE* Fix typo in dgb.c: opt_depricated.h -> opt_deprecated.h* Fix some minor manpage issues
12