Age | Commit message (Collapse) | Author |
|
immediately afterwards.
ok thib@, tedu@
|
|
ok thib@
|
|
|
|
process_new() handle the new struct process like fork1() does struct proc,
with a range of members zeroed and a range copied from the parent process.
ok tedu@
|
|
the now-removed HPUX compat code.
ok and build testing deraadt@
|
|
ok tedu@, beck@, oga@
|
|
blocking other cleanups
ok miod@
|
|
count was always one. That's pointless, so remove the member and the code.
ok tedu@
|
|
sproc() support, but we don't have COMPAT_IRIX.
ok krw@ tedu@
|
|
in compat mode and there's no harm continuing that way.
ok dlg deraadt guenther miod thib
|
|
and waits until all I/O currently on the queues has been completed. To get
I/O going again, call bufq_restart().
To be used for suspend/resume.
Joint effort with thib@, tedu@; tested by mlarkin@, marco@
|
|
|
|
4.3 compat code in mount. This is a flag day for those of you still running
4.3 BSD binaries on your vaxen. :)
ok deraadt dlg guenther thib
|
|
KERN_FILE2 (or their libkvm wrappers) for more information than the
running implementation knows how to provide.
ok millert@ deraadt@
|
|
and remove the function. ok thib
|
|
|
|
|
|
|
|
|
|
|
|
(not done) hasn't changed, but now it's less work to test things.
ok art deraadt
|
|
so stop including it in kernel .c files.
"sure" deraadt@
|
|
context switch and the call to clock_gettime.
oga@ ok
|
|
rt_if_remove_rtdelete() need to know the table id to be able to correctly
remove nodes.
Problem found by Andrea Parazzini and analyzed by Martin Pelikán.
OK henning@
|
|
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new
situation. The larger buffers are required by the very high speed
KDDI devices in Japan (CF com, or USB ucom) so those are the only two
drivers which currently ask for a larger buffer size.
ok yasuoka miod
|
|
|
|
|
|
grabbing allproclk in proc_zap(); don't dereference the process's p_pgrp
if that happens.
ok art@ thib@
|
|
which contains the constraints for DMA/memory allocation for each
architecture, and dma_constraints which contains the range of addresses
that are dma accessable by the system.
This is based on ariane@'s physcontig diff, with lots of bugfixes and
additions the following additions by my self:
Introduce a new function pool_set_constraints() which sets the address
range for which we allocate pages for the pool from, this is now used
for the mbuf/mbuf cluster pools to keep them dma accessible.
The !direct archs no longer stuff pages into the kernel object in
uvm_km_getpage_pla but rather do a pmap_extract() in uvm_km_putpages.
Tested heavily by my self on i386, amd64 and sparc64. Some tests on
alpha and SGI.
"commit it" beck, art, oga, deraadt
"i like the diff" deraadt
|
|
ok deraadt@
|
|
it defines. In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise. Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@
|
|
getphysbuf() as the bufpool is already protected.
From Matthew Dempsky <matthew at dempsky dot org>
OK blambert@
|
|
Pointed out by Jung <moorang at gmail dot com>
|
|
declarations.
OK miod@, millert@
|
|
do a pdfree() way before they remove themself from the allproc
list. This prevents a null deref found by todd@.
Joint work with mikeb
OK millert@, tedu@
|
|
|
|
does not have to deal with it as a common. Some platforms may be missed
by this commit... if you spot one, fix it the same way.
ok miod
|
|
also gets a bit of a KNF scrubbing at claudio@'s insistence. Shaves some
bytes from the kernel as well.
tested by phessler@ and zinovnik@, thanks
ok claudio@
|
|
|
|
|
|
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some
variables using make -V, and after some more singing and dancing use this
full and (more) correct list of files with ctags. Don't read this code.
ok guenther
|
|
really should do this more automatically (ideas being discussed)
ok guenther
|
|
conversion to bufq work. Taken from n2k10 scsi buf queueing code.
ok thib@
|
|
the allproclk before searching for a free pid so that we don't sleep
between picking one and adding it to the list that is searched.
Also, keep holding the lock until after the PIDHASH update.
ok art@, tedu@
|
|
and incorrect. Kills an XXX comment.
ok syuu, thib, art, kettenis, millert, deraadt
|
|
hardcoded(!), over to an "indicator" sensor type, value depending
on whether the GPS has fix. ok deraadt@
|
|
Reintroduce bufqs. A few changes since it was backed out after some good
comments from dlg@.
No need for a separate bufq.h, keep all of in buf.h; As requested by kittens
and deraadt.
Only sd(4) and wd(4) for now. The rest of the drivers will be converted soon,
also other goodies like heuristics for sd(4) for selecting the bufq type and
the death of disksort() are forthcoming.
Tested on: i386, amd64, sparc64, macppc, loongson and alpha by myself and
phessler.
OK art@, beck@, kettenis@, oga@
|
|
Don't set SDEAD on the process in exit1 untile we have grabbed the
allproclk. allproclk is a rwlock and thus we may sleep to grab hold of
it. This is a big of a bugger when we just set a flag that means we
panic if we sleep.
ok art@. turns Tom Murphy's fstat panic into a deadlock instead *sigh*,
this is being looked into.
|
|
Also make sure not to take the scheduler lock once we have stopped a CPU such
that we can safely take it away without having to worry about deadlock
because it happened to own the scheduler lock.
Fixes issues with suspen on SMP machines.
ok mlarkin@, marco@, art@, deraadt@
|
|
ok drahn oga
|