]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sbuf(9): Microoptimize sbuf_put_byte()
authorAlexander Motin <mav@FreeBSD.org>
Tue, 5 Oct 2021 18:42:47 +0000 (14:42 -0400)
committerAlexander Motin <mav@FreeBSD.org>
Tue, 5 Oct 2021 18:47:38 +0000 (14:47 -0400)
commit7835b2cb4a1ae57f403739a2f1076ec7188f18c9
treece48d82a8a5ffe87e492a8d18bd28a0600aafc35
parentb3b15d9256cbba94d509d1c8b1c5b2379f03fd26
sbuf(9): Microoptimize sbuf_put_byte()

This function is actively used by sbuf_vprintf(), so this simple
inlining in half reduces time of kern.geom.confxml generation.

MFC after: 2 weeks
Sponsored by: iXsystem, Inc.
sys/kern/subr_sbuf.c