#
d3760454 |
| 01-Jun-2021 |
riastradh <riastradh@NetBSD.org> |
wsdisplay(4): Use C99 initializer for usl_syncops.
Avoid sketchy function pointer cast while here.
|
#
14b4bbb2 |
| 23-May-2020 |
ad <ad@NetBSD.org> |
Move proc_lock into the data segment. It was dynamically allocated because at the time we had mutex_obj_alloc() but not __cacheline_aligned.
|
#
70f4d008 |
| 15-Dec-2018 |
christos <christos@NetBSD.org> |
- Use kmem_intr_{alloc,free}, because on time out we need to free from an interrupt context. - Remove parens from returns and useless casts from void.
|
#
bb0e5d0e |
| 04-Nov-2017 |
christos <christos@NetBSD.org> |
use sizeof(*var) instead of sizeof(type)
|
#
2f183d6d |
| 03-Nov-2017 |
maya <maya@NetBSD.org> |
use kmem, don't check for allocation failure with KM_SLEEP
|
#
6342a8dc |
| 24-Aug-2015 |
pooka <pooka@NetBSD.org> |
to garnish, dust with _KERNEL_OPT
|
#
0145d731 |
| 19-Feb-2013 |
macallan <macallan@NetBSD.org> |
fix a bunch of _IO() ioctl()s to actually work on LP64/BE ( the data pointer is abused to pass an integer, we get a pointer to it so we need to deref it to something the same size as a pointer to g
fix a bunch of _IO() ioctl()s to actually work on LP64/BE ( the data pointer is abused to pass an integer, we get a pointer to it so we need to deref it to something the same size as a pointer to get the correct value ) now the PCVT compat code ( which is used for VT switching in and out of X ) works on sparc64
show more ...
|
#
3c507045 |
| 01-Jul-2010 |
rmind <rmind@NetBSD.org> |
Remove pfind() and pgfind(), fix locking in various broken uses of these. Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags and have consistent behaviour. Provide proc_find_r
Remove pfind() and pgfind(), fix locking in various broken uses of these. Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags and have consistent behaviour. Provide proc_find_raw() for special cases. Fix memory leak in sysctl_proc_corename().
COMPAT_LINUX: rework ptrace() locking, minimise differences between different versions per-arch.
Note: while this change adds some formal cosmetics for COMPAT_DARWIN and COMPAT_IRIX - locking there is utterly broken (for ages).
Fixes PR/43176.
show more ...
|
#
28b27193 |
| 04-Oct-2009 |
christos <christos@NetBSD.org> |
Don't call usl_sync_check_sig from an interrupt context. Call it only if waitok. Stack trace: mutex_vector_enter <- usl_sync_check_sig <- usl_detachproc <- wsdisplay_switch <- wskbd_translate <- ws
Don't call usl_sync_check_sig from an interrupt context. Call it only if waitok. Stack trace: mutex_vector_enter <- usl_sync_check_sig <- usl_detachproc <- wsdisplay_switch <- wskbd_translate <- wskbd_input <- pckbd_input <- pckbcintr <- intr_biglock_wrapper <- Xintr_ioapic_edge1 Reported by Anon Ymous
show more ...
|
#
6d70f903 |
| 24-Apr-2008 |
ad <ad@NetBSD.org> |
Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications:
- Inspecting process state requires
Network protocol interrupts can now block on locks, so merge the globals proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock). Implications:
- Inspecting process state requires thread context, so signals can no longer be sent from a hardware interrupt handler. Signal activity must be deferred to a soft interrupt or kthread.
- As the proc state locking is simplified, it's now safe to take exit() and wait() out from under kernel_lock.
- The system spends less time at IPL_SCHED, and there is less lock activity.
show more ...
|
#
8644062c |
| 14-Jan-2008 |
drochner <drochner@NetBSD.org> |
restructure things a bit so that proclist_mutex is held between the p_find() and the psignal() which is its purpose after all
|
#
e4a56b25 |
| 18-Oct-2007 |
joerg <joerg@NetBSD.org> |
Use aprint API for output and convert to device_t/softc separation.
|
#
55e50c10 |
| 16-Oct-2007 |
joerg <joerg@NetBSD.org> |
Use callout_setfunc/callout_schedule instead of callout_reset. Use mstohz for the calculations.
|
#
88ab7da9 |
| 09-Jul-2007 |
ad <ad@NetBSD.org> |
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
0ffd2bf3 |
| 26-Dec-2006 |
elad <elad@NetBSD.org> |
Adapt to recent machdep scope changes.
Pointed out by Kouichirou Hiratsuka, thanks!
|
#
168cd830 |
| 16-Nov-2006 |
christos <christos@NetBSD.org> |
__unused removal on arguments; approved by core.
|
#
7cd2ca16 |
| 11-Nov-2006 |
bjh21 <bjh21@NetBSD.org> |
COMPAT_10 implies COMPAT_11, so there's no need to test both. Also collapse two tightly-nested #ifs into one.
|
#
4d595fd7 |
| 12-Oct-2006 |
christos <christos@NetBSD.org> |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
#
08544bda |
| 10-Oct-2006 |
elad <elad@NetBSD.org> |
Use kauth(9) instead of securelevel.
okay cube@
|
#
3029ac48 |
| 21-Jul-2006 |
ad <ad@NetBSD.org> |
- Use the LWP cached credentials where sane. - Minor cosmetic changes.
|
#
2867b68b |
| 14-May-2006 |
elad <elad@NetBSD.org> |
integrate kauth.
|
#
a737ed39 |
| 18-Mar-2006 |
jmcneill <jmcneill@NetBSD.org> |
Don't use intarg uninitialized in wsdisplay_usl_ioctl2. Fixes CID 2507
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|