suhas wrote:
> hallo all,
> My group cerrently working on the 'process migration',so for that we
> currently doing socket programming for that we want to do the socket
> programming in module.Because the linux kernel is preepmtive so after
> doing listen for incoming request from client can kernel performs
> another task except other than the listen.
You're really going about this in the wrong way. If you want to wait for
tcp connections, while I suppose its _possible_ to do from kernel space,
you'll really wind up with a better, more stable application if you do
this from user space. I'd investigate the possibility of instead
writing a module, or understanding how current driver modules can report
information to you in user space relevant to a process you wish to
migrate. Then you can just write a user space app to manage the
connections and send the relevant data to peer nodes in the system.
HTH
Neil
--
Neil Horman
Red Hat, Inc.,
http://people.redhat.com/nhorman
gpg keyid: 1024D / 0x92A74FA1,
http://www.keyserver.net