Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2008 18:44:55 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: RFC: Adding a hw.features[2] sysctl
Message-ID:  <fmo46o$8q4$1@ger.gmane.org>
In-Reply-To: <a2b6592c0801140903l78370630w50bf886d96118bb9@mail.gmail.com>
References:  <1200197787.67286.13.camel@shumai.marcuscom.com>	<20080113182457.GN929@server.vk2pj.dyndns.org>	<a2b6592c0801131721w25afae5bg3dcf6a90c1a3d2b7@mail.gmail.com>	<200801141254.20400.doconnor@gsoft.com.au>	<a2b6592c0801131838jcde3634le6087d2f784adcbc@mail.gmail.com>	<478AE741.1000105@comcast.net>	<a2b6592c0801140139v42bb6ab2s667ebceb9ba3ab16@mail.gmail.com>	<slrnfomt3j.i6j.csaba-ml@beastie.creo.hu>	<a2b6592c0801140747r2a7ec1e5q7cd858065399ae65@mail.gmail.com>	<slrnfon4at.i6j.csaba-ml@beastie.creo.hu> <a2b6592c0801140903l78370630w50bf886d96118bb9@mail.gmail.com>

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

[-- Attachment #1 --]
Igor Mozolevsky wrote:

> Would you need
> ...features=0x178bfbff
> ...features2=0x1
> ...amd.features=0xe2500800
> ...amd.features20x3; or

Please go this way because applications that care only about "features2" 
will be unmoved if another manufacturer adds "features3" and 
"features4". Programs made to depend on "features3" will simply get an 
"not found" error at a system level when run on a machine that lacks 
"features3", which is desirable and good design.

> I genuinely don't know (and don't have the time to work out) the
> actual overhead of a sysctl vs ioctl, so if someone knows please let
> me know :-)

Please don't start polluting /dev with info-only nodes. Sysctls are 
designed exactly for that purpose.



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHj5QXldnAQVacBcgRApCQAJ9rnbw+O910rWrv6xhtlHCnXI16qgCg+r0T
hOOoWqJxESQMFpLZ3eckibU=
=6tGc
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fmo46o$8q4$1>