From: Wojciech Moczulski <wmoczulski@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Suspending and resuming a single task
Date: Mon, 19 Jun 2006 02:43:48 +0200 [thread overview]
Message-ID: <4495F344.8080705@gmail.com> (raw)
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.
next reply other threads:[~2006-06-19 0:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-19 0:43 Wojciech Moczulski [this message]
2006-06-19 0:47 ` Suspending and resuming a single task Matthew Garrett
2006-06-19 1:06 ` Wojciech Moczulski
2006-06-19 4:07 ` Bernard Blackham
2006-06-19 14:19 ` Wojciech Moczulski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4495F344.8080705@gmail.com \
--to=wmoczulski@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox