Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2015 19:29:20 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r280152 - head/sys/kern
Message-ID:  <201503161929.t2GJTKwT086590@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Mon Mar 16 19:29:19 2015
New Revision: 280152
URL: https://svnweb.freebsd.org/changeset/base/280152

Log:
  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.

Modified:
  head/sys/kern/kern_et.c

Modified: head/sys/kern/kern_et.c
==============================================================================
--- head/sys/kern/kern_et.c	Mon Mar 16 19:25:03 2015	(r280151)
+++ head/sys/kern/kern_et.c	Mon Mar 16 19:29:19 2015	(r280152)
@@ -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)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503161929.t2GJTKwT086590>