Re: Question about linux drivers

Paul Barton-Davis (pbd@op.net)
Tue, 17 Nov 1998 21:42:11 -0500


I wrote:
>> whereas I think the questioner wanted:
>>
>> tell_scheduler_that_i_do_not_really_matter ();
>> while (!done_computing) {
>> compute();
>> }
>>

Vladimir responded:

>i'd say that the second piece of code is just a userspace program.
>Right ?

Well, normally, yes, but if its tickling device registers and it
doesn't run as root (no ioperm/iopl access), and for sure if it does
DMA or accesses device memory, then no. Maybe I should have used more
suitable name than "compute()" :)

--p

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