Re: help with access_process_vm

From: Jirka Kosina
Date: Wed Dec 15 2004 - 05:54:40 EST


On Tue, 14 Dec 2004, Fabiano Ramos wrote:

> Is it possible to put the process that caused the trap to sleep, call
> schedule and defer this access_process_vm to later on with irqs enabled
> and only than resume the faulty process?

How would you ever reschedule that? There is no way scheduler can schedule
interrupt contexts.

Try thinking about using some bottom half mechanisms which is kernel
providing. Also consider this as offtopic here, should go to linux kernel
newbies malinglist.

Cheers,

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