Trivial change / forced-commit to document prior change that slipped in
without a commit message... Use sbuf_new() + SYSCTL_OUT() instead of wiring the userland buffer and using sbuf_new_for_sysctl(). The preallocated 256 byte buffer is always going to be big enough to hold these results, and this should be more efficient than wiring the old buffer.
This commit is contained in:
parent
b1f6b456b1
commit
7934731b66
@ -235,7 +235,7 @@ et_free(struct eventtimer *et)
|
||||
return (0);
|
||||
}
|
||||
|
||||
/* Report list of supported event timers hardware via sysctl. */
|
||||
/* Report list of supported event timer hardware via sysctl. */
|
||||
static int
|
||||
sysctl_kern_eventtimer_choice(SYSCTL_HANDLER_ARGS)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user