linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linux Kernel generic question (procedure queue)
@ 2003-05-06  6:44 None Atall
  2003-05-06  6:01 ` Der Herr Hofrat
  2003-05-06  7:20 ` Vladimir Gurevich
  0 siblings, 2 replies; 6+ messages in thread
From: None Atall @ 2003-05-06  6:44 UTC (permalink / raw)
  To: linuxppc-embedded


 Hello everybody,
 Is it possible to insert
a specific procedure (among with it's args) to the
kernel scheduler? I know that we can just call
schedule(); when we wait for an asychronus input or
we can even insert an interrupt to the kernel queue,
but is it possible to queue a procedure?
 Just for understanding the problem better, I have
a function write_buff that calls write_byte.
Write_byte
function uses PPC gpio for implementing something like
an SPI interface. When we write a big file (e.x 1M),
the system will not respond to anything until the
transfer is done. I inserted "schedule();" every time
the write_byte is called so that the system will
accually perform some other tasks. So my question is
if I could insert write_byte function to the scheduler
queue in such a way to prevent this problem.

                           Thanks in advance
                                  Dimitrios.

=====
------------------------------------------------------------
-Dhmhtrios Meidanis
-Degree in Mathematics, University of the Aegean.
-Master in Computer Architecture and Digital
 Systems, University of Crete.
 Greece.
------------------------------------------------------------


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Linux Kernel generic question (procedure queue)
@ 2003-05-06 12:40 Steven Rothweiler
  2003-05-06 13:26 ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Steven Rothweiler @ 2003-05-06 12:40 UTC (permalink / raw)
  To: linuxppc-embedded


>
> But my main advice will be to get yourself a copy of
> "Linux Device Drivers" by Rubini and Corbet first.
>

After purchasing the book on Vladmir's great advice, I realized
that I could download the PDF version of the entire book at
http://www.xml.com/ldd/chapter/book/bookindexpdf.html .

Is there any reason the PDF version of this book is (seemingly)
free?  I don't feel bad about downloading it, since I've already
purchased the book, but I think it's not fair to the authors.

Unless, of course, they *want* to give it away...
--
STeve

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Linux Kernel generic question (procedure queue)
@ 2003-05-06 13:37 Steven Rothweiler
  0 siblings, 0 replies; 6+ messages in thread
From: Steven Rothweiler @ 2003-05-06 13:37 UTC (permalink / raw)
  To: linuxppc embedded


Thanks, Gary, I didn't know there was such a thing...

>
> Read page 'xvii':
>   Online Version and License
>   The authors have chosen to make this book freely available under
>   the GNU Free Documentation License, version 1.1.
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-06 13:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-06  6:44 Linux Kernel generic question (procedure queue) None Atall
2003-05-06  6:01 ` Der Herr Hofrat
2003-05-06  7:20 ` Vladimir Gurevich
  -- strict thread matches above, loose matches on Subject: below --
2003-05-06 12:40 Steven Rothweiler
2003-05-06 13:26 ` Gary Thomas
2003-05-06 13:37 Steven Rothweiler

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).