From: Nix <nix@esperi.org.uk>
To: arjanv@redhat.com
Cc: linux-kernel@vger.kernel.org, ivan.korzakow@gmail.com,
fawadlateef@gmail.com
Subject: Re: best way to access device driver functions
Date: Fri, 16 Sep 2005 16:24:15 +0100 [thread overview]
Message-ID: <87irx1ujc0.fsf@amaterasu.srvr.nix> (raw)
In-Reply-To: <1126879660.3103.6.camel@localhost.localdomain> (Arjan van de Ven's message of "16 Sep 2005 15:10:20 +0100")
On 16 Sep 2005, Arjan van de Ven noted:
>
>> New *system calls* are generally avoided (especially if they might be
>> useful to non-privileged code) because they come with a *very* high
>> backward compatibility burden
>
> ioctls come with the same burden though.
Well, sort of. A lot of ioctl()s are widely-known and surely can't be
changed, just like syscalls (e.g. the terminal control stuff) --- but
in the past even things like the HD geometry ioctls have changed,
and ioctl()s specific to, say, a single obscure block device could
probably change without requiring recompilation of more than one or
two userspace programs (and this has happened).
Indeed, one of the problems with ioctl()s is that there is no clear
delineation: some ioctl()s are heavily used and some are totally
unused, and it's never clear which is which in all cases.
(I suppose this is sort of true of syscalls too --- how many people call
sys_uselib()? --- but to a much lesser extent, because there's no such
thing as an `obscure device-specific syscall'.)
--
`One cannot, after all, be expected to read every single word
of a book whose author one wishes to insult.' --- Richard Dawkins
next prev parent reply other threads:[~2005-09-16 15:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-15 7:48 best way to access device driver functions Ivan Korzakow
2005-09-15 8:03 ` Fawad Lateef
2005-09-15 12:18 ` Ivan Korzakow
2005-09-15 15:39 ` Fawad Lateef
2005-09-16 12:59 ` Nix
2005-09-16 14:07 ` Arjan van de Ven
2005-09-16 15:24 ` Nix [this message]
2005-09-16 16:02 ` linux-os (Dick Johnson)
2005-09-16 18:30 ` Kyle Moffett
2005-09-16 19:20 ` linux-os (Dick Johnson)
2005-09-16 19:41 ` Valdis.Kletnieks
2005-09-16 17:52 ` Alexey Dobriyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87irx1ujc0.fsf@amaterasu.srvr.nix \
--to=nix@esperi.org.uk \
--cc=arjanv@redhat.com \
--cc=fawadlateef@gmail.com \
--cc=ivan.korzakow@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox