Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 11:03:22 -0700
From:      hiren panchasara <hiren@strugglingcoder.info>
To:        freebsd-hackers@freebsd.org
Cc:        mdf356@gmail.com
Subject:   Puzzled about VFS sysctl OIDs -- signed vs. unsigned (again)
Message-ID:  <20150406180322.GD96049@strugglingcoder.info>

next in thread | raw e-mail | index | archive | help

--1giRMj6yz/+FOIRq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Ran into this issue on a stable/10 box at work and found
https://lists.freebsd.org/pipermail/freebsd-hackers/2011-March/034600.html

I'd be interested in knowing how other are fixing this in-house (at
$work).

One suggestion I had was to raise it from int to long but that
apparently may have performance impact as these routines get called a
lot and needs to be profiled.

Making them (at least) unsigned is a good first step.

Cheers,
Hiren

--1giRMj6yz/+FOIRq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQF8BAEBCgBmBQJVIsppXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4
QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lgTgH/2nMFSvuoXJdxgpxptVtwz8S
9E5/vSobDKRKO61bSSTfF5VbCwou+6isxPNVfF3Qv+jA6ox/Gnx6Vs+x8gub2Hdk
HsCbM7rGIzZgkTISPCZlhndNNzqE94C2R0zP+Uczu4RN6OOxsnOv3NL0uGCpfH1G
PqYOdwBwQ1sC9K9W2Gwhm5BAO9TFWw4rne1GFFsbH6YLXt3ILZ3HJN2kVWRN9U92
CiaDCOu6V+YSIgBoWOU1JEjt/Ufmg/Tn59q4bCT42XioRV9XD8zsZMOXFYTLT4cP
m3KdNV3HRlslHBx1Web0mNjX3RZOzF6AiPYg1KfApV7psSlV1g5e2NkIU5JR1tg=
=HGtc
-----END PGP SIGNATURE-----

--1giRMj6yz/+FOIRq--



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