On Wed, Feb 16, 2005 at 10:03:04PM -0800, Mark Harvey wrote:
> I also do not understand what 'Rusty Russel refers to as being in user
> context (Unreliable Guide to Hacking the Linux kernel)' Chapter 5:
> Recipes for Deadlock.
>From the same Unreliable Guide ...
<sect1 id="basics-usercontext">
<title>User Context</title>
<para>
User context is when you are coming in from a system call or
other trap: you can sleep, and you own the CPU (except for
interrupts) until you call <function>schedule()</function>.
In other words, user context (unlike userspace) is not pre-emptable.
</para>
--
"Next the statesmen will invent cheap lies, putting the blame upon
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince
himself that the war is just, and will thank God for the better sleep
he enjoys after this process of grotesque self-deception." -- Mark Twain
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html