Re: [PATCH #2] console lock grabbed too early in printk...

From: Chris Lattner (sabre@skylab.org)
Date: Sun Jul 02 2000 - 14:02:13 EST


> Not a deadlock, you are breaking rules. A simple "don't do that" fixes
> the deadlock.

> printk takes only kernel-space addresses. Don't expect it to page
> anything in for you. That work should be done in your driver, BEFORE
> calling printk.

I understand this, but I don't think this is optimal
behavior... especially for quick debugging checks. I'll throw together a
new patch that will hopefully address some problems...

-Chris

>
> In general, don't expect userspace addresses to be available without
> help from uaccess.h or map_user_kiobuf...
>
> Jeff
>
>
>
>

-
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/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:12 EST