| Commit message (Collapse) | Author | Files | Lines |
|
Currently the receiver fetches an imsg via imsg_get() and if he expects
an fd, he then calls imsg_get_fd() to fetch the next fd queued on the
imsgbuf from which the imsg came.
This changes hides the fd queueing mechanism to the API user. When closing
an imsg with an fd, the message is flagged so that the receiving end knows
it must dequeue the fd in imsg_get() and return it with the imsg structure.
This way there is no (less) possible screw up from imsg_get_fd() not being
called directly after imsg_get() by the user. The retreived imsg is
self-contained.
ok pyr@, "I like that" henning@
|
|
If code is used from exactly one place, don't jump back dozens of lines to
reach it, only to "goto" back where you came from.
Instead, simply put the code where it belongs.
Also fixes a regression that crept in in rev. 1.30: After clearing the
variable __ypmode, don't try to make decisions based on its former value.
As a bonus, garbage collect the grname variable and the _ypmode enum type.
ok millert@
|
|
icb.
|
|
|
|
|
|
back on kmem grovelling for non-live kernels. OK deraadt@
|
|
along with vnode type-specific info to make it more useful for fstat(1).
OK deraadt@
|
|
eventually be needed by bouncebuffers, and I need it for some of my evil
graphics shitz.
ok kettenis@ with some tweaks
|
|
found by LLVM/Clang Static Analyzer.
with a remind from oga@ about 80 cols wrap
ok oga@
|
|
system.
This is needed in the case where you need managed pages so you can
handle faulting and pmap_page_protect() on said pages when you manage
memory in such regions (i'm looking at you, graphics cards).
these pages are flagged PG_DEV, and shall never be on the freelists,
assert this. behaviour remains unchanged in the non-device case,
specifically for all archs currently in the tree we panic if called
after bootstrap.
ok art@, kettenis@, ariane@, beck@.
|
|
OK deraadt@
|
|
ok pyr@
|
|
|
|
not fully understand but at least no flames are comming out of my test
box anymore.
|
|
Thus, garbage collect one variable, one strdup, one free, two ifs,
one else and a couple of assignments. No functional change.
ok millert@
|
|
in the IPI handler so that it works when it interrupts userspace,
waiting for the droppmap IPI to complete when destroying it, and
(most importantly) don't call pmap_tlb_droppmap() from cpu_exit().
Tested by myself and ckuethe, as our machines choked on the original.
ok @art
|
|
actually get us anything.
ok thib@
|
|
|
|
still support all different methods of getting states without e.g.
(highest/lowest state), and on i386 use the tables. The only change
should be the deletion of the mV from the printf at boot.
ok jsg@
|
|
interrupt will do the standard abort procedure per rfc959. second
interrupt will force the abort, and close the connection.
done after email from halex@ couple of months ago. liked by many
"I like this a lot" marco@. ok halex@, millert@, phessler@
|
|
ok thib@
|
|
work if it interrupts userspace
ok kettenis@ "you haven't committed that yet?" art@
|
|
add a flag field, use u_int32_t for pid_t and extend type to 32 bits
for padding.
ok pyr@
|
|
change that often anymore.
|
|
media just a wee bit too much.
|
|
|
|
|
|
IPIs are handled without blocking interrupts. This solves the random lockups
people have been seeing with apmd -C, thanks to marco@ for showing me how
to reliably recreate this hang, and claudio@ for telling me it was also
affecting his Athlon64 machine so I stopped chasing bugs in est.
ok oga@, weingart@
|
|
|
|
ok jsg@ thib@
|
|
|
|
reported by sturm@. fixes libarchive on mips64.
ok millert@, miod@. tested by jasper@.
|
|
immediately when biglock wasn't held. But there is nothing inherently
wrong with doing copyin/copyout faults without holding biglock, so
just remove the check because it prevent us from doing copyin in
syscall before we grab the biglock.
|
|
time corrections. Once the clock is synced again, start computing a fresh
frequency correction.
ok henning
|
|
corrections more often. Due to physical effects crystal oscillators aren't
really stable beyond 1000s or so - at least not the kind found in pc's.
ok henning
|
|
|
|
|
|
invalid data on the list, inviting later NULL pointer access.
noticed by deraadt@, algorithm proposed by millert, implemented by me;
feedback and ok millert@
|
|
behavior change.
ok eric@
|
|
Just put it in the buf_acquire function.
oga@ ok
|
|
- minor space nit in engine.c
ok canacar@
|
|
just move that into uvm_pagedeactivate.
oga@ ok
|
|
|
|
|
|
- LCD-4300U (century corp.)
ok mglocker@
|
|
|
|
OK millert
|
|
OK millert
|
|
|
|
adjusted from a diff from chl@; ok naddy, Brad agrees.
|