Age | Commit message (Collapse) | Author |
|
Tested by Christian Stuermer.
|
|
hme_stop(). From Brad.
|
|
allocate mbufs for it. Another jumbo allocator bites the dust!
ok dlg@
|
|
shrinks the output of installboot by a few lines.
|
|
Instead of keeping a bitmask of on which cpu the pmap might be active which
we clear in pmap_deactivate, always keep a pointer to the currently loaded
pmap in cpu_info. We can now optimize a context switch to the kernel pmap
(idle and kernel threads) to keep the previously loaded pmap still loaded
and then reuse that pmap if we context switch back to the same process.
Introduce a new IPI to force a pmap reload before the pmap is destroyed.
Clean up cpu_switchto.
toby@ ok
|
|
|
|
turned up in pf_icmp_state_lookup.
ok sthen@
|
|
extents based on address range forwarded by the bridge as indicated by
the limit registers. Remove the now redundant BAR initialization code
for type 0 devices.
ok oga@
|
|
by Antoine Jacoutot. back out for oga to look at when he gets back in
touch with earth.
|
|
Hellerstedt
|
|
for an ID uses that space. It is better to name it by that name to be
more clear what is going on. shrug. this story dug out by sthen
|
|
- getnewbuf dies. instead of having getnewbuf, buf_get, buf_stub and
buf_init we now have buf_get that is smaller than some of those
functions were before.
- Instead of allocating anonymous buffers and then freeing them if we
happened to lose the race to the hash, always allocate a buffer knowing
which <vnode, block> it will belong to.
- In cluster read, instead of allocating an anonymous buffer to cover
the whole read and then stubs for every buffer under it, make the
first buffer in the cluster cover the whole range and then shrink it
in the callback.
now, all buffers are always on the correct hash and we always know their
identity.
discussed with many, kettenis@ ok
|
|
idle proc. p_cpu might be necessary in the future and pegging is just
to be extra safe (although we'll be horribly broken if the idle proc
ever ends up where that flag is checked).
|
|
now reported in hw.vendor and hw.product.
|
|
pool_init does its job properly.
|
|
in pool_init so you the pool struct doesn't have to be zeroed before
you init it.
|
|
|
|
on the tx rings (one mbuf ptr/dmamap array entry was created for
every tx descriptor slot at attach time) with a dynamically grown
list of mbuf pointers and dmamaps.
bnx used to have 512 dmamaps/mbuf pointers for the tx ring, now my
system is running with 8 under moderate load.
the big bonus from this is that the dmamap handling is greatly
simplified.
reyk@ likes this a lot
|
|
calculation of ticks. Saves 26 bytes.
ok oga `fine' deraadt
|
|
see the ancient mode 2 on machines capable of running OpenBSD/amd64.
ok deraadt@, toby@, oga@
|
|
mapping to the gart than the old code, and shouldn't conflict with
bouncebuffers when they're added.
This is essentially the sparc64 iommu code that's been modularised a bit
so I can eventually use the same code for agp-based dma for memory
managed drm drivers.
Now, this would overflow ramdiskA, so iommu and sg_dma are now #ifndef
SMALL_KERNEL.
ok kettenis@, marco@. SMALL_KERNEL discussions with deraadt.
|
|
|
|
|
|
|
|
before deciding to attach dsrtc.
|
|
|
|
ok oga@
|
|
also true. no binary change without EHCI_DEBUG.
ok jsg@
|
|
Replaces pchb with amas for the AMD64 address map.
amas0 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
Currently disabled (causing pchb to attach instead).
ok art@
|
|
last descriptor slot in the ring. the tx completion code expects the dmamap
to be there so it can unload it.
ok reyk@
|
|
ok dlg@
|
|
something to do. Walk the highest priority queue looking for a proc
to steal and skip those that are pegged.
We could consider walking the other queues in the future too, but this
should do for now.
kettenis@ guenther@ ok
|
|
If we're just going to be making it available to userland (the X
server), just use load_raw and make sure it's zeroed with BUS_DMA_ZERO.
Should save $AMOUNT_BOUND_TO_GART kva. Most kernel users also write
through the gart, so no mapping there either.
tested by sthen and todd a while back.
|
|
Saves every damned driver calling bzero(), and continues the M_ZERO,
PR_ZERO symmetry.
|
|
pages.
"go for it" miod@
|
|
appropriately; ok deraadt marco
|
|
``please commit'' deraadt
|
|
any other sleep state. This tells acpi wake devices to not wake up
the box until manual powering up resets their status. Makes my Dell
GX520 stay powered off in response to 'halt -p'.
In snaps for a while.
ok marco@ (several times) deraadt@
|
|
from upstream a while back.
|
|
Been meaning to pull this in from upstream for ages.
|
|
always increment uvmexp.softs while inside the lock.
While i'm here, make alpha's dispatch loop look like the rest.
"sure" miod@
|
|
ok miod@
|
|
handle a mapping partly in, and partly out the direct DMA window, on
systems with > 2GB physical memory.
|
|
partnumber, decide what components of the IOC3 really are available, and
how many interrupts to register.
Based on knowledge found in Linux source code, only tested on full-blown
IOC3 devices so far.
|
|
|
|
printing the part number as the serial number.
|
|
in sysctl hw.ncpufound; ok miod kettenis
|
|
MULTIPROCESSOR.
|
|
in sysctl hw.ncpufound; ok miod kettenis
|
|
simplelocks + splhigh().
First part of making it possible to make mpsafe softinterrupts.
"oh yes, definitely" miod@
|