Suspending and resuming a single task
From: Wojciech Moczulski
Date: Sun Jun 18 2006 - 20:42:41 EST
Hello,
I'm doing some research on suspending/resuming a single task in Linux 2.6.x.
At this point I've succeded dumping the whole task state (CPU context, regs,
memory, fds, etc.) to an external file and reading it back to a pre-defined
structure (I know that reading/writing files directly to/from kernel is a bad
thing - I'm working *only* on a p.o.c. and currently there's no other
purpose), but I'm stuck in getting restored task to get running again.
Are there any ways to re-register restored task as a running one in some
"easy" way or should I perform some manual modyfications to the kerenel
structures?
Can anyone suggest me some solution to this problem?
Regards,
Wojciech
PS. I'm not on a list so please CC me, please.
-
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/