Age | Commit message (Collapse) | Author |
|
creating a trapframe, with exceptions disabled and using only BANK1
registers. If a valid pte is found, load it and return. Otherwise
create a trapframe and proceed to the full-blown C handler."
from uwe@netbsd, ok miod@
speed-ups measured by miod@ and me were between 44% and 50%...
|
|
vaddr_t PMAP_PREFER(..., vaddr_t). This allows better compiler optimization
when the function is inlined, and avoids accessing memory on architectures
when we can pass function arguments in registers.
|
|
given pcitag_t configuration address space. Currently, all pci controllers
will return the usual 0x100 bytes of PCI configuration space, but this will
eventually change on PCIe-capable controlers.
ok kettenis@
|
|
implement them, and they are of questionable usefulness.
|
|
kernel, currently limited to low-hanging fruit: these variables were used
by bus_dma to specify the range in which to allocate memory, back when
uvm_pglistalloc() was stupid and would not walk the vm_physseg[].
Nowadays, except on some platforms for early initialization, these variables
are not used, or do not need to be global variables. Therefore:
- remove `extern' declarations of avail_start and avail_end (or close cousins,
such as arm physical_start and physical_end) from files which no longer need
to use them.
- make them local variables whenever possible.
- remove them when they are assigned to but no longer used.
|
|
provides an inline version of it.
|
|
to complete matthew@'s commit of a few days ago, and drop __HAVE_CPU_MUTEX_LEVEL
define. With help from, and ok deraadt@.
|
|
hierarchy. Everything attached to a single root node anyway, so at
best we had a bush.
"i think it is good" deraadt@
|
|
so we can drop -traditional-cpp
ok miod@
|
|
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
|
|
ok deraadt matthew millert
|
|
from netbsd
ok miod@
|
|
- Use dt to loop over md_upte in sh3_vector_tlbmiss.
- Shrink number of instructions for ldtlb
from netbsd
"commit it" miod@
|
|
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
|
|
|
|
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@
|
|
- arrange for data blocks to start on 32B cache line boundary.
from uwe@netbsd
ok miod@ (with an indentation suggestion)
|
|
from uwe@netbsd
ok miod@
|
|
from uwe@netbsd
ok miod@
|
|
where there is almost nothing left to them, so that we can continue getting
rid of them
ok oga
|
|
used to depend on <sh/psl.h> bringing <machine/intr.h>.
|
|
like it is everything.h
ok tedu
|
|
|
|
a process instead of using curproc. ok deraadt
|
|
first name is used, and remove any #define foo_region foo compatibility
defines.
Also, on sparc64, do not provide a `raw' version of bus_space_copy.
|
|
explicitely process both cache ways, there is no need to give them the
whole EMODE cache size as a range to operate on; only half the size will do;
this avoid working on the cache twice.
|
|
|
|
of this page may use different cache indexes.
ok kettenis@
|
|
|
|
rather than defining it separately for each architecture.
Also set it to 4, to accommodate for future UTF-8 support (rfc3629).
Diff by stsp, committing to catch the libc major bump
ok kettenis@, guenther@
|
|
Linux kernel does and is obviously what GCC expects. Fixed segmentation
faults in omalloc_init() for shared executables linked with the pthreads
library.
tested by otto@, ok deraadt@, drahn@
|
|
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and
remove it from any occurences where both are used, except one for kqueue itself
and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag).
Based on a diff from tedu.
ok deraadt
|
|
ok jsing@, miod@
|
|
miod@ deraadt@ ok.
|
|
calls can go directly into selwakeup() safely
long discussion with nicm, murmers of consent from tedu and miod, noone
else seems to care of kqueue is busted as long as it makes their sockets
move data fast... pretty sad.
|
|
Ok oga@, "the time is now" deraadt@.
|
|
exactly the same the mi could will use if bufinit() is invoked with
bufpages == 0.
|
|
anymore. Get rid of it completely.
|
|
|
|
with only the available range free, instead of that range only.
ok kettenis@
|
|
caller deal with this; this really makes the PMAP_CANFAIL logic work.
ok kettenis@
|
|
landisk, and the sparc implementation is obviously wrong. That's where I
stopped looking, so who knows what else was broken. A simple comparison of
the existing mtx_enter with the new mtx_enter_try would have told anybody.
|
|
using this soon(ish). Ok oga@, sorta yes kettenis@.
|
|
them along when we attach pci(4).
ok miod@
|
|
ok miod@
|
|
MD code would free resources that couldn't be freed until we were no
longer running in that processor. However, it's is unused on all
architectures since mikeb@'s tss changes on x86 earlier in the year.
ok miod@
|
|
|
|
or ENAMETOOLONG.
|
|
reserved memory on alpha and hppa on its own line (as done on sgi).
|
|
|