Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2013 17:47:52 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Juli Mallett <jmallett@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, Andrey Zonov <zont@FreeBSD.org>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, Jilles Tjoelker <jilles@stack.nl>
Subject:   Re: svn commit: r253662 - in head: lib/libc/gen sys/vm tools/tools/sysdoc
Message-ID:  <20130727170845.E872@besplex.bde.org>
In-Reply-To: <CACVs6=_gLGtW01-rmxTmaVgMBJWjpFHMEQ2R36Nvf2er7B4v%2Bw@mail.gmail.com>
References:  <201307260200.r6Q207cB015223@svn.freebsd.org> <20130726150949.GC14175@stack.nl> <51F2E970.3070303@FreeBSD.org> <CACVs6=_gLGtW01-rmxTmaVgMBJWjpFHMEQ2R36Nvf2er7B4v%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Jul 2013, Juli Mallett wrote:

> On Fri, Jul 26, 2013 at 2:26 PM, Andrey Zonov <zont@freebsd.org> wrote:
>
>> On 7/26/13 8:09 AM, Jilles Tjoelker wrote:
>>> As noted in mail from Bruce Evans, please preserve the ABI of
>>> VM_SWAPPING_ENABLED here.
>>
>> I don't think it's a big problem.  Internally we don't use it.  Good
>> code uses sysctlbyname() instead of sysctl().  It doesn't seem to me
>> this is very popular sysctl.  It's also CURRENT without MFC.
>
> That doesn't seem like a great argument.
>
> Why should we break the ABI for bad code that used that sysctl and all
> following?  It seems pretty trivial to preserve, and no-cost.  Also, the
> fact that it's in current misses the point completely: it breaks ABI with
> older binaries, namely older binaries running on -CURRENT.  And not just
> for that field.

Especially since the main reason numbered sysctls exist is to support old
binaries (and sources) that use them.

Bruce



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