linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Lang <david.lang@digitalinsight.com>
To: Rob Wilkens <robw@optonline.net>
Cc: Ryan Anderson <ryan@michonline.com>,
	Linux kernel list <linux-kernel@vger.kernel.org>
Subject: Re: The GPL, the kernel, and everything else.
Date: Sat, 11 Jan 2003 21:10:16 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0301112103110.31214-100000@dlang.diginsite.com> (raw)
In-Reply-To: <1042347339.1033.191.camel@RobsPC.RobertWilkens.com>

On Sat, 11 Jan 2003, Rob Wilkens wrote:

> > 2. modules not only need to be called with the correct parameters, they
> > also need to do the proper locking. as locking evolves what needs to be
> > done by the module changes. This can only be solved by every module doing
> > locking 'just in casee' at which point the unessasary locking becomes a
> > significant performance issue (Larry McVoy has written a document about
> > why locking is bad and why excessive locking is very bad, search archives
> > for the link to his site)
>
> I don't need to read an article to know why locking is bad.  However, if
> we can broadly generalize drivers into categories (instead of just
> "modules", for example, there could be a generic "video module"
> structure and that could have a specific kind of locking that a video
> driver would need, and the same would go for other specific types of
> drivers).

the problem is that the locking that's nessasary for a storage driver
depends on the locking that's implemented in the filesystem that's calling
the driver. that locking changes over time.

it used to be that locking was simple, you took the BKL and that was it
(and then only if you needed to, if you were only called from a place that
already heldthe BKL you didn't need to do anything)

as time goes on and existing algorithms are replaced by others the locking
requirements change. useing my example above, if the filesystem layer is
changed so that it no longer needs the BKL then the storage driver needs
to aquire it itself (if it needs it, not all of them will)

> > 4. since no designer (or group of designers) can think of everything your
> > API is going to be incomplete anyway. you can either pretend this isn't
> > the case and limit yourself to the things that you origionally imagined,
> > change your API (and now what do you do with things that used the
>
> Why is it that Windows doesn't seem to have a problem providing a
> generic binary driver interface -- one that is portable accross
> operating systems as mentioned before -- drivers which work on Windows
> 98 are binary compatible with Windows 2000 and Windows XP despite major
> difference in the systems never mind minor kernel changes.
>
> I'd suggest that a linux kernel developer get their hands on a copy of
> the specs for the wdm (windows device driver model) and learn what
> useful information they can from it.

I don't know what you've been running, but windows device drivers are not
compatable across all the different versions of windows (try installing a
windows 9x driver in NT for example).

> > as for signing kernel modules as being 'good' you have a serious problem
> > in the Linux world that there is no central authority to do any such
> > signing.
>
> Microsoft uses Verisign I believe, which is a company linux commands
> like "whois" already use to do nameserver lookups for example.  It's a
> third party, and hardware manufacturers probably already have
> certificates from them.

verisign does not decide what drivers to sign, microsoft does, microsoft
signs them useing a key they got from verisign. that's a very different
situation.

David Lang



  reply	other threads:[~2003-01-12  5:14 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-10 15:29 Nvidia and its choice to read the GPL "differently" Larry Sendlosky
2003-01-11  1:58 ` Rob Wilkens
2003-01-11  2:07   ` Larry McVoy
2003-01-11  2:13     ` Rob Wilkens
2003-01-11  2:17       ` Larry McVoy
2003-01-11  2:38         ` Rob Wilkens
2003-01-11  2:41           ` Larry McVoy
2003-01-11  2:46             ` Rob Wilkens
2003-01-11 21:44           ` Kurt Garloff
2003-01-11 21:53             ` Rob Wilkens
2003-01-11 22:16               ` Chief Gadgeteer
2003-01-11 22:26               ` Kurt Garloff
2003-01-11 23:23                 ` Rob Wilkens
2003-01-12  3:33                   ` Mark Mielke
2003-01-12  3:43                     ` Rob Wilkens
2003-01-12  4:19                     ` David Schwartz
2003-01-13 13:51                       ` Richard B. Johnson
2003-01-12  4:00                   ` Valdis.Kletnieks
2003-01-12  4:04                     ` Rob Wilkens
2003-01-12  7:47                     ` Chuck Wolber
2003-01-12 14:42                       ` Intel And Kenrel Programming (was: Nvidia is a great company) Rob Wilkens
2003-01-12 16:45                         ` Alan Cox
2003-01-12 16:58                           ` Rob Wilkens
2003-01-12 17:54                             ` Alan Cox
2003-01-12 19:30                               ` Intel And Kenrel Programming Samuli Suonpaa
2003-01-12 19:46                           ` Intel And Kenrel Programming (was: Nvidia is a great company) Valdis.Kletnieks
2003-01-11 22:36               ` Nvidia and its choice to read the GPL "differently" Vojtech Pavlik
2003-01-11 22:57                 ` Rob Wilkens
2003-01-12  1:06                   ` The GPL, the kernel, and everything else Ryan Anderson
2003-01-12  4:15                     ` Rob Wilkens
2003-01-12  4:21                       ` David Lang
2003-01-12  4:55                         ` Rob Wilkens
2003-01-12  5:10                           ` David Lang [this message]
2003-01-12  5:45                             ` Rob Wilkens
2003-01-12  5:12                           ` Stephen Satchell
2003-01-16 16:28                       ` Mark H. Wood
2003-01-16 16:41                         ` venom
2003-01-16 18:22                         ` John Alvord
2003-01-12 11:13                   ` Nvidia and its choice to read the GPL "differently" Andrew McGregor
2003-01-12  1:44               ` [OT] Noise on lkml (was Re: Nvidia and its choice to read the GPL "differently") J Sloan
2003-01-12  3:18                 ` Rob Wilkens
2003-01-12  4:08                   ` Scott Murray
2003-01-11  3:26     ` Nvidia and its choice to read the GPL "differently" Alan Cox
2003-01-11  2:54       ` Larry McVoy
2003-01-11  2:58         ` Rob Wilkens
2003-01-11  3:11           ` Zwane Mwaikambo
2003-01-11  3:14             ` Rob Wilkens
2003-01-11  3:16           ` John Adams
2003-01-11  3:35             ` Rob Wilkens
2003-01-11  3:48               ` Hans Sgier
2003-01-11  3:55                 ` Rob Wilkens
2003-01-11  4:41               ` J Sloan
2003-01-11  4:44                 ` Rob Wilkens
2003-01-11  5:09                   ` Andre Hedrick
2003-01-11  5:12                   ` OT: Renaming the kernel??!?!?!? (Was Re: Nvidia and its choice to read the GPL "differently") Brian Davids
2003-01-11 15:57                   ` Nvidia and its choice to read the GPL "differently" Tom Sightler
2003-01-11  3:27           ` Brian Tinsley
     [not found]             ` <1042256385.1259.106.camel@RobsPC.RobertWilkens.com>
2003-01-11  4:16               ` Brian Tinsley
2003-01-11  3:52           ` yodaiken
2003-01-11  4:05             ` Rob Wilkens
2003-01-11  5:45               ` Martin J. Bligh
2003-01-11  6:01           ` Tomas Szepe
2003-01-11 15:03             ` Rob Wilkens
2003-01-11 19:41               ` Andre Hedrick
2003-01-11 21:18                 ` Rob Wilkens
2003-01-11  6:32         ` Ryan Anderson
2003-01-11  2:55       ` Rob Wilkens
2003-01-11  3:20   ` Tom Sightler
2003-01-11 19:48     ` Mark Mielke

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=Pine.LNX.4.44.0301112103110.31214-100000@dlang.diginsite.com \
    --to=david.lang@digitalinsight.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robw@optonline.net \
    --cc=ryan@michonline.com \
    /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;
as well as URLs for NNTP newsgroup(s).