ad
b94f79f0e8
Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@.
2008-07-02 17:28:54 +00:00
ad
06c343ac94
vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.
2008-06-04 12:41:40 +00:00
ad
fd089e08cf
Remove ref to uvm.page_idle_zero
2008-06-04 11:30:25 +00:00
tsutsui
6b0322861b
Add options COMPAT_40 to files which have options COMPAT_30.
2008-05-30 20:10:01 +00:00
chs
6740bb5440
enable profiling of assembly functions.
2008-05-25 15:56:11 +00:00
ad
1e62ed170b
Remove unneeded playing about with kernel_lock.
2008-05-21 14:07:29 +00:00
jklos
b92aa793c1
Fix leds.c to compile.
2008-05-04 00:10:42 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
ad
284c2b9aef
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
...
we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
2008-04-24 18:39:20 +00:00
ad
6d70f903e6
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.
2008-04-24 15:35:27 +00:00
ad
30abe39468
- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations,
...
all system calls are now MPSAFE.
- Remove unneeded acquire/release of kernel_lock.
2008-04-24 11:51:18 +00:00
matt
e21c02e25f
Put RCSIDs in section ".ident"
2008-04-13 15:07:39 +00:00
tsutsui
78a1d236b6
Split device_t/softc for MI ncr53c9x and some related devices,
...
with various cleanup.
2008-04-13 04:55:52 +00:00
tsutsui
5147571380
Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes.
2008-04-04 16:00:57 +00:00
tsutsui
d9941582bf
Split device_t/softc for le(4) and variants and misc cosmetic changes.
2008-04-04 12:25:06 +00:00
he
87e42a468b
Convert from use of bcopy() to memcpy() so that this builds again.
2008-03-31 06:19:59 +00:00
matt
6e8b97e230
After a process in swapped in, refresh the pcb's paddr.
2008-03-15 18:42:06 +00:00
matt
9e8ca25d60
Switch dz driver to PRIVALLOC and device_* accessors.
2008-03-15 00:57:15 +00:00
matt
eb34c39d65
This is not (has never?) being used.
2008-03-15 00:27:18 +00:00
matt
3fbab323bd
Switch to PRIVALLOC and device_* accessors
2008-03-15 00:25:05 +00:00
matt
3143c8de1f
Use 0 sized softc and switch to PRIVALLOC
2008-03-15 00:24:13 +00:00
matt
5e7971cbf0
Fix device access. Use a 0 sized softc and switch to PRIVALLOC for mem_cmi.
2008-03-15 00:23:17 +00:00
matt
4e11517afe
Use device_*
2008-03-15 00:21:48 +00:00
matt
e344d4551d
Use a 0 sized softc / switch to PRIVALLOC.
2008-03-15 00:21:30 +00:00
matt
022989947e
Comment out xmi and nmi devices.
2008-03-15 00:20:08 +00:00
jkunz
2f13c500d2
Fix falout from recent VAX code rototill:
...
MicroVAX 4000/[3-7]00 could not get HW Ethernet address.
2008-03-14 21:35:01 +00:00
jkunz
3682eb424e
Fix falout from recent VAX code rototill: MicroVAX 4000/1xx and 3100m9x could not get HW Ethernet address.
2008-03-14 20:49:29 +00:00
matt
fad3202138
This file is no longer used.
2008-03-11 05:43:35 +00:00
matt
9586b67527
Update to new world order
2008-03-11 05:43:17 +00:00
matt
dfba816635
Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
...
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
2008-03-11 05:34:01 +00:00
christos
2853595ad1
Allow KA53 to link, from Hans Rosenfeld. clk_page is used only if VAX46, VAX48
...
or VAX49 are defined.
2008-03-07 16:02:43 +00:00
christos
80acf2debe
Fix KA53 console. From Hans Rosenfeld.
2008-03-07 15:58:33 +00:00
rmind
c6186face4
Welcome to 4.99.55:
...
- Add a lot of missing selinit() and seldestroy() calls.
- Merge selwakeup() and selnotify() calls into a single selnotify().
- Add an additional 'events' argument to selnotify() call. It will
indicate which event (POLL_IN, POLL_OUT, etc) happen. If unknown,
zero may be used.
Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>
2008-03-01 14:16:49 +00:00
joerg
ab9987d535
Missing assym.h dependency.
2008-03-01 13:59:26 +00:00
xtraeme
f402cadf9a
Remove CTL_MACHDEP_NAMES, it's not used anywhere.
...
Ok by martin@.
2008-02-27 18:26:15 +00:00
matt
ba7104fdd4
Model this syscall.c on the i386 syscall.c. Don't have separate
...
syscall_fancy and syscall_plain. Use p->p_trace_enabled.
2008-02-24 12:57:39 +00:00
matt
57db79967d
Never ever trust the user. Fix bug introduced in version 1.8 of trap.c
...
by ragge nearly 13 years ago.
2008-02-24 08:38:39 +00:00
matt
aa6e59f5dc
A number of performance changes:
...
Change internal register SSP to contain curlwp insread curcpu(). This
shrinks the GENERIC by 2KB.
Add rwlock stubs (rw_enter, rw_exit, rw_tryenter).
Simplify simple lock code for uniprocessors.
Do SPL raise/lower in cpu_handle_ipi instead of simple_locks.
2008-02-23 05:48:13 +00:00
matt
8310bd848b
Revert last change.
2008-02-22 17:38:38 +00:00
matt
ca4e85e5a3
Fix panic in readdisksubr.c
2008-02-22 15:57:53 +00:00
matt
49ffaced1c
Fix a bug in the pmap pcb tracking code. While here, rewrite it to simplier.
...
Use a field in the pcb itself (since it's basically free) and keep track of
what pmap "owns" a pcb (for consistency checking). use M_ZERO as appropriate.
2008-02-22 08:46:48 +00:00
matt
9433f6a071
expand some printfs. Don't bother checking for curlwp == NULL; it can't
...
happen anymore. Convert some variables to bool.
2008-02-22 03:20:39 +00:00
matt
6c90a57c76
Rethink softint cleanup. instead of post softint, do it before so we always
...
know it was done right. This fixes KSP invalid panics.
2008-02-22 03:18:40 +00:00
matt
80798140ed
Switch NetBSD/vax to the CAS model of mutexes. Fix the locking primitives
...
in lock_stubs.S so they actually function correctly.
2008-02-22 03:16:01 +00:00
matt
a0283d03d4
Add back some includes which were inadvertantly removed.
2008-02-22 03:14:22 +00:00
matt
4e3cca57c1
More softint fixes. We need to restore the softint lwp's pcb to it's initial
...
state since it may have been blocked or interrupted by another softint.
2008-02-21 03:52:47 +00:00
drochner
bb33f35f20
Since files.wscons et al. are included by ~all ports anyway, include
...
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.
2008-02-20 21:43:33 +00:00
matt
a027746fa0
Make NetBSD/vax work again. Add support for __HAVE_FAST_SOFTINTS.
...
Add a few small optimizations.
2008-02-20 16:37:52 +00:00
matt
0269822f9b
ci_curlwp must be set to &lwp0 very early in the boot. Now we get further
...
into the kernel before dying.
2008-02-19 22:18:03 +00:00
ad
fb00b83874
Give bbusy() an interlock argument. If the we need to wait for the buffer,
...
the interlock is dropped and reacquired when awoken. This allows for
busying buffers attached to a list that is not locked by bufcache_lock.
2008-02-15 13:46:04 +00:00