Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2002 02:54:11 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        phk@critter.freebsd.dk
Cc:        arch@FreeBSD.ORG
Subject:   Re: wiring the sysctl output buffer 
Message-ID:  <200207140954.g6E9sBwr020599@gw.catspoiler.org>
In-Reply-To: <51318.1026638915@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 Jul, Poul-Henning Kamp wrote:
> In message <200207140916.g6E9Ghwr020552@gw.catspoiler.org>, Don Lewis writes:
> 
>>I think the best solution to this problem is to add a sysctl system API
>>to prewire the output buffer that can be called before grabbing the
>>locks.  Doing so allows the existing code to operate properly with only
>>minimal changes.
> 
> It used to be that sysctl unconditionally wired the output buffer,
> but that gave rise to a host of other problems.

Anything specific that I should be aware of?

> I'm not against the suggested change, but it should be used with
> caution.

I'd only want to use this when it was the best solution, preferably
after checking that SYSCTL_OUT() would actually be called.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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