Gracefully killing kswapd, or any kernel thread

2005-09-07 Thread Kristis Makris
Hello, I'm trying to kill a kernel thread gracefully, in particular kswapd, without any success. The goal is to start another kernel thread that contains updated kswapd functionality, through a loadable module; no kernel recompilation. I noticed that kernel threads block SIGKILL. Hence, on modul

Re: [ham] Re: Gracefully killing kswapd, or any kernel thread

2005-09-07 Thread Kristis Makris
> To kill a kernel thread, you need to make __it__ call exit(). It must be There must be another way to do it. Perhaps one could have another process effectively issue the contents of do_exit for the kswapd task_struct ? > CODED to do that! You can't do it externally although you can send I'm cl

Re: [ham] Re: Gracefully killing kswapd, or any kernel thread

2005-09-09 Thread Kristis Makris
On Wed, 2005-09-07 at 18:36 -0400, linux-os (Dick Johnson) wrote: > On Wed, 7 Sep 2005, Kristis Makris wrote: > > >> To kill a kernel thread, you need to make __it__ call exit(). It must be I was able to make it call do_exit(). However, even if I recompile a kernel to have

Re: [ham] Re: Gracefully killing kswapd, or any kernel thread

2005-09-09 Thread Kristis Makris
On Fri, 2005-09-09 at 15:20 -0400, linux-os (Dick Johnson) wrote: > Because it's now defunct , a zombie, waiting for somebody to > reap its return status. You are almost there, you need to issue > the kernel equivalent of waitpid() (sys_waitpid) to grab that > status and throw it away. That's what

Dynamic kernel updates using DynAMOS

2007-07-23 Thread Kristis Makris
Hello, please CC me as I'm not registered in these lists. I'd like to announce DynAMOS, a dynamic kernel updating system that supports Linux and could be of help in kernel development and high availability. This system has been a research project at Arizona State University for the past 3 years a