lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4581DC71.5000503@iinet.net.au>
Date:	Fri, 15 Dec 2006 10:21:21 +1100
From:	Ben Nizette <ben.nizette@...et.net.au>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: [Fwd: Re: [GIT PATCH] more Driver core patches for 2.6.19]

Linus Torvalds wrote:
> On Thu, 14 Dec 2006, Thomas Gleixner wrote:
>   
>> The kernel part of the UIO driver also knows how to shut the interrupt
>> up, so where is the difference ?
>>     
>
> Thomas, you've been discussing some totally different and private 
> Thomas-only thread than everybody else in this thread has been.
>
> The point is NO, THE UIO DRIVER DID NOT KNOW THAT AT ALL. Go and read the 
> post that STARTED this whole thread. Go and read the "example driver". 
>
> The example driver was complete crap and drivel. 
>   
OK the example driver was a bad example.  A very bad example.  Writing a
driver with UIO does involve writing _some_ kernel code, just not much.
Some of the kernel code you do have to write is the bit of the interrupt
routine which shuts the device up.  UIO doesn't really move the
interrupt handling to userspace, more it moves the bottom-half work to
userspace.  If you are using UIO, a prerequisite is probably that your
actual interrupt handler code is trivial, all work can be done in this
form of userspace bottom-half.

The example didn't show that, the docco shipped with the UIO patches does.

        Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ