[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lock_kernel
>
>
> do {
> /* executed once. */
> } while (0);
>
> should make things clearer. That is, you're wrong
> when you say `it
> comes 'out' immediately'. It doesn't, but executes
> exactly once
Thats great but what does one execution mean to the
kernel. It will be executed with a fraction of time
and why is it suposed to lock the kernel.
And if it locks by any chance why do we need to lock
the kernel (I mean in which scenario do we need to
lock the kernel).Is it becuase we need a time out for
any of our modules or ... what else
First of all is it meaningfull in the case of a single
processor or is it useful only in the case of SMP.
Thanks
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/