kernel/mmap_single: Pass a_fp properly into the *_mmap_single dev op.Follow-up to 8c530b23e3584f72dc8c660b3816187017eeeb6b which passed NULLalways.Nothing is broken because of this at the moment
kernel/mmap_single: Pass a_fp properly into the *_mmap_single dev op.Follow-up to 8c530b23e3584f72dc8c660b3816187017eeeb6b which passed NULLalways.Nothing is broken because of this at the moment but it will be usefulfor drivers that want to access per-fp private data (with for exampledevfs_get_cdevpriv()) from their blah_mmap_single() dev_ops function.OK'd-by: dillon
show more ...
kernel: Stop using <stdint.h> during kernel build. This includes VKERNEL too. Now it should be possible to fully build kernel with headers only from src/sys/ (except VKERNEL that is using userla
kernel: Stop using <stdint.h> during kernel build. This includes VKERNEL too. Now it should be possible to fully build kernel with headers only from src/sys/ (except VKERNEL that is using userland headers for obvious reasons, prominently the <signal.h>). Now <stdint.h> separation from <sys/types.h> could begin.
kernel: Remove libkern.h inclusion from a few files that don't need it.
kernel - Incidental MPLOCK removal (devfs)* Fix ordering issues for devfs initialization vs libprop that previously depended on the MPLOCK.* Use a private devfs_token for other areas of devfs p
kernel - Incidental MPLOCK removal (devfs)* Fix ordering issues for devfs initialization vs libprop that previously depended on the MPLOCK.* Use a private devfs_token for other areas of devfs previously using the mplock.* Make /dev/devfs MPSAFE.
Remove <sys/stdbool.h>. The kernel has bool etc. in <sys/types.h> now.
kernel - Major mtx lock cleanup* Integrate the ident into the mtx structure, remove the ident parameter from all locking calls.* Rename some of the functions, shortening them.* Add a few new
kernel - Major mtx lock cleanup* Integrate the ident into the mtx structure, remove the ident parameter from all locking calls.* Rename some of the functions, shortening them.* Add a few new functions which hammer2 will use.
kernel: Move semicolon from the definition of SYSINIT() to its invocations.This affected around 70 of our (more or less) 270 SYSINIT() calls.style(9) advocates the terminating semicolon to be sup
kernel: Move semicolon from the definition of SYSINIT() to its invocations.This affected around 70 of our (more or less) 270 SYSINIT() calls.style(9) advocates the terminating semicolon to be supplied by theinvocation too, because it can make life easier for editors and othersource code parsing programs.
kernel: don't allow proplib to redefine bool
kernel: Remove unused attributes from stuff that is, in fact, used.
kernel: Fix various whitespace and indent issues (no functional change).
kernel: Remove some unneeded NULL checks after kmalloc() with M_WAITOK.
Import proplib from NetBSD- main change: fix for an implementation inconsistency with theprop_*_send_syscall() and prop_*_recv_syscall() functionsNetBSD commit message:http://mail-index.netbsd.o
Import proplib from NetBSD- main change: fix for an implementation inconsistency with theprop_*_send_syscall() and prop_*_recv_syscall() functionsNetBSD commit message:http://mail-index.netbsd.org/source-changes/2011/09/30/msg027701.html- some unrelated minor fixes
update proplib * There are several bugfixes and many cosmetic fixes.Obtained-from: NetBSD
kernel: Remove #include <sys/mutex.h> if <sys/mutex2.h> is included too.
kernel - Change PROP_RWLOCK from spinlock to mtx* The PROP_RWLOCK can be held across switches and sleeps and so cannot be a spinlock.* Fixes spinlocks-held-during-switch panic.
proplib - port to dragonflyMany-thanks-to: Sascha Wildner