Age | Commit message (Collapse) | Author |
|
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
|
|
|
|
|
|
before you, to see their files reduced to ashes, to see those who
love them shrouded in tears, and to gather into your API all their
invocations.
In other words, workq is no more. There is only taskq.
ok kettenis@ dlg@ (creator of taskq) jmc@
|
|
similar to TASK_INITIALIZER and all the queue _INITIALIZER things.
ok deraadt@
|
|
of sys/kern/vfs_bio.c;
|
|
|
|
error code on failure (unchecked for the moment).
ok mikeb@, jmc@
|
|
where its appropriate to use it, but that can happen later.
discussed with djm@
tweaks from jmc@
|
|
|
|
reminded by phessler@
|
|
and a count of the mbufs.
struct mbuf_list and the ml_foo() apis can be used to build lists of
mbufs where you dont need locking (eg, on the stack).
struct mbuf_queue and mq_foo() wrap mbuf_lists with a mutex, and
limits the number of mbufs that can be queued. they can be useful
for moving mbufs between contexts/subsystems.
with help from jmc@ for the manpage bits
mpi@ is keen
|
|
to know. the grubby bits the midlayer touches on them will get written up
soon.
ok deraadt@
|
|
KASSERT() is annoying as it only prints the expression as a string. If you
(developers) want to know a little more information, you have to do:
#ifdef DIAGNOSTIC
if (bad)
panic(...);
#endif
KASSERTMSG() replaces it into a single line:
KASSERTMSG(!bad, ...);
Taken from NetBSD.
(There is a concern that KASSERT() messages are too long; consume more memory,
and not friendly for small monitors. This have to be considered & revisited
later.)
"Like" from henning@
Man page review & advices from jmc@ and schwarze@
|
|
|
|
config_deactivate(9), it should die. Mention config_detach_children(9).
Use CONTEXT and RETURN VALUES sections
|
|
While here, change malloc(9)'s size argument from "unsigned long" to
"size_t".
ok tedu
|
|
|
|
|
|
out of the mbuf layer, and break the assumption that an interface will
only have a single ring per mbuf cluster size.
mpi@ is ok with moving this forward
|
|
uvm_fork() was removed by uvm_glue.c r1.65 (2014-05-15)
uvm_scheduler() was removed by uvm_glue.c r1.50 (2009-08-11)
uvm_swapin() was removed by uvm_glue.c r1.45 (2006-11-29)
RIP
|
|
|
|
connected routes to prefixes/hosts.
Since the introduction of rt_ifa_addloop(9) and rt_ifa_delloop(9),
rtinit() was just a wrapper, so use the underlying functions
directly and document them.
Inputs from and ok mikeb@, manpage tweaks from jmc@
|
|
|
|
improvements.
ok sthen@
|
|
Rename and document rt_timer_count() into rt_timer_queue_count() to
be consistent with the other functions. Remove unused argument from
rt_timer_queue_destroy(), clean the definitions and finally use the
same order in NAME and DESCRIPTION as requested by jmc@.
ok henning@
|
|
coherent with the existing rtable_* functions and document it.
While here fix some other manpage glitches pointed out by jmc@.
|
|
its content.
With inputs from jmc@ and schwarze@
|
|
archs have instrutions that can do this, and the rest that dont get
to use wrappers around the byteswap(3) api.
this provides MI backends for sparc64 and powerpc which get a big
benefit from this because byteswapping in registers is really hard
for them.
the intended use case is for reading and writing bits of dma memory
handed to and from hardware.
discussed with miod@ guenther@ deraadt@
ok miod@ kettenis@
|
|
|
|
you can call.
discussed briefly with jmc@ who i might have misinterpreted.
|
|
after functions. for reasons.
reminded by jmc@
|
|
functions FOR REASONS.
reminded by jmc@
|
|
shouldnt have one
|
|
solaris, but we found it via netbsd.
this provides an MI implementation by using gccs atomic builtins. if an
arch wants to provide a better implementation it can simply provide the
specific bit of the api it wants to replace as a macro.
we're being conservative with this API and only providing it in the
kernel, and only for uints, ulongs, and pointers.
discussed at n2k14 and with hackers at length.
ok kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
month ago. Add also a few words about fb_delete(9).
ok jmc@
|
|
|
|
|
|
|
|
|
|
Get rid of the badly named usbd_bulk_transfer() and usbd_intr_transfer()
they were two identical wrappers to submit a synchronous transfer.
Now all synchronous transfers are submited using usbd_setup_xfer(9) and
usbd_transfer(9) explicitly using the USBD_CATCH flag when signals must
be checked.
Previous version ok'd by mglocker@, with subtle inputs from miod@
|
|
|
|
|
|
|