Age | Commit message (Collapse) | Author |
|
Enthusiastic huzzahs from many.
"A great day" dlg@
|
|
Enthusiastic huzzahs from many.
"A great day" dlg@
|
|
|
|
|
|
|
|
ok art@
|
|
ok art@
|
|
running stuff that depends on mutexes without holding the kernel lock.
ok art@
|
|
modified in between.
|
|
|
|
for a command to complete. this also replaces all the while (!ready) \
tsleep() wrapped in splbio code with mpii_wait.
tested with bioctl runs and sensor updates on a raid volume
|
|
iopools make sure resources arent overallocated, while scheduling them
evenly between devices.
tested by and ok jsg@
|
|
void *. this will let me stash things other than scsi xfers in the ccb for
ccb_done handlers to use.
this is the same change i did in mpi.c r1.128 and mpivar.h r1.28
|
|
the chip are atomic wrt to all cpus in a system.
mpii_push_reply only writes to one reg, so it is already atomic. neither
it or mpii_start need splbio now.
mpii(4) is still not completely mpsafe cos all the sleeps done while
waiting for completion still rely on splbio.
|
|
allowed to.
|
|
|
|
wasn't ok deraadt & dlg.
|
|
are first sent to target/lun, as opposed to failing to allocate a ccb
(which ive already fixed). this moves the allocation and freeing of this
device state in siop into the scsi_probe and scsi_free handlers.
if siop cant allocate memory for a device when the midlayer is about to
probe it, we dont send commands to it. if the midlayer fails to find a
device at that target/lun, it asks siop to free it.
simplifies the io path and avoids work during interrupts.
ok deraadt@
reads good to both marco@ and krw@
|
|
|
|
is stupid, since the bits in the interrupt enable register are completely
different between 4/4c and 4m.
Instead, provide distinct, explicit function names to handle the interrupt
enable register.
|
|
CPUTYP_xxx defines.
|
|
modified by the acpi thread.
ok kettenis
|
|
thread. Instead, just tell the acpi thread to do the suspend for us.
This makes apmd & zzz work correctly. While here, have acpithinkpad
attempt to post the event to apm before prompting the suspend itself.
ok kettenis marco mlarkin
|
|
ok miod
|
|
Tested by lots of people during c2k10
ok phessler krw thib
|
|
ok art@
|
|
the scsi_cmd path over to it.
|
|
ok jsg@
|
|
we're busy, we might not be able to allocate a ccb via scsi_ioh_get
if the pool is empty. this means we wont ack the event, which in
turn means we wont receive further event notifications.
this cuts the event ack code over to using a scsi_iohandler. the
eventack iohandler will be called as soon as a ccb becomes available
for it to use. this guarantees reliable event handling and
acknowledgement, despite how busy the controller might be.
this has bugging me ever since i wrote the event handling code.
tested by hotplugging sata disks.
|
|
ioh wrappers.
|
|
|
|
|
|
ok deraadt@
|
|
flags which I perpetrated when I paid insufficient attention to
dlg@'s original diff.
Belatedly tested by marco@ and myself. Bad marco@. Bad krw@.
ok marco@
|
|
|
|
|
|
the PERF_STATUS MSR on earlier processors when we can't find the values
via acpi and have a bus clock value to use. And let processors we
don't set a bus clock on (ie nehalem) use speedstep again.
Expanded/changed version of a diff from gwk who isn't around right now.
|
|
|
|
also, remove the flag variable in the setup routine, as we'll
always register with a flag value of 0.
|
|
|
|
cannot then re-align it using ALIGN(). That is not portable since we
have architectures where the modulo are quite different. define an
ALIGN_POINTER() macro in place, and use it in one spot.
This caused a NFS crash on sparc (which borrows mbufs and chains them
itself in insane ways). I heard claudio and beck trying to diagnose
it from over the room when suddenly I knew exactly what it was.
blambert spent a few hours on it making sure that I wasn't insane.
|
|
ok art@
|
|
ok drahn@
|
|
to do this, but many machines don't, or forget to, which leads to all sorts
of problems on resume (broken battery stats, overheating, failure to resume
more than once, etc).
tested by many, ok marco@, deraadt@
|
|
|
|
|
|
regular buf routines; and now we can swap again.
|
|
signal handlers. Breaks ABI for applications that copy around struct
sigcontext to implement cooperative threading. Other applications
shoouldn't notice the difference.
ok guenther@, deraadt@
|
|
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.
Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.
Written by claudio@, criticized^Wcritiqued by me
|
|
General huzzahs.
"go for it" deraadt@
|