Age | Commit message (Collapse) | Author |
|
Simplify resource parsing function to use buffer argument
Convert namespace linked lists to use queue macros
ok marco@, deraadt@
|
|
like time exceeded messages. This will allow to add additional information
to those messges like the incomming MPLS label.
OK deraadt@, dhill@
|
|
|
|
|
|
enodev to poll, because this returns an errno of 19 in revents. Oops.
Use seltrue where needed, and use a new selfalse function for those which
don't know if the next op will be non-blocking
Mostly discussed with guenther and miod
|
|
ok stsp@ henning@ claudio@
|
|
"that looks about right even though the offset calculation is pure
horror" claudio@, ok deraadt@
|
|
|
|
decrease) by me, fix from armani@ (who seems to be away right now). ok mk@
|
|
The splvm protection is needed after all, as we are walking the list
of registered crypto drivers and doing that unprotected is unwise.
Pointed out by kettenis@
|
|
- pipex failed to lookup the radix tree because address and netmask
were not initialized.
- pipex used wrong place as a ip header because it didn't adjust
32bit address family header that are added at tun_output.
|
|
encdec operation, keep a PAGE_SIZE (or not, depending if we fail during
setup) buf around; if the crd_len is larger then the current buf, re allocate
a new one that fits the data, and keep it around.
|
|
variable. This way we don't have to check if the pool are initialized every
time we do a crypto_getreq().
Move splvm lower as it isnt need all through crypto_newsession().
tiny KNF nit.
From mikeb
OK deraadt@
|
|
ok grange@
|
|
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@
|
|
|
|
|