Re: Module loading/unloading and "The Stop Machine"

2008-02-22 Thread Max Krasnyanskiy
Hi Andi, Max Krasnyanskiy <[EMAIL PROTECTED]> writes: static struct module *load_module(void __user *umod, unsigned long len, const char __user *uargs) { ... /* Now sew it into the lists so we can get lockdep and oops

Re: Module loading/unloading and "The Stop Machine"

2008-02-22 Thread Andi Kleen
Max Krasnyanskiy <[EMAIL PROTECTED]> writes: > > static struct module *load_module(void __user *umod, > unsigned long len, > const char __user *uargs) > { > ... > > /* Now sew it into the lists so we can get lockdep and

Re: Module loading/unloading and The Stop Machine

2008-02-22 Thread Andi Kleen
Max Krasnyanskiy [EMAIL PROTECTED] writes: static struct module *load_module(void __user *umod, unsigned long len, const char __user *uargs) { ... /* Now sew it into the lists so we can get lockdep and oops

Re: Module loading/unloading and The Stop Machine

2008-02-22 Thread Max Krasnyanskiy
Hi Andi, Max Krasnyanskiy [EMAIL PROTECTED] writes: static struct module *load_module(void __user *umod, unsigned long len, const char __user *uargs) { ... /* Now sew it into the lists so we can get lockdep and oops

Re: Module loading/unloading and "The Stop Machine"

2008-02-21 Thread Max Krasnyanskiy
Tejun Heo wrote: Max Krasnyanskiy wrote: Tejun Heo wrote: Max Krasnyanskiy wrote: Thanks for the info. I guess I missed that from the code. In any case that seems like a pretty heavy refcounting mechanism. In a sense that every time something is loaded or unloaded entire machine freezes,

Re: Module loading/unloading and "The Stop Machine"

2008-02-21 Thread Tejun Heo
Max Krasnyanskiy wrote: > Tejun Heo wrote: >> Max Krasnyanskiy wrote: >>> Thanks for the info. I guess I missed that from the code. In any case >>> that seems like a pretty heavy refcounting mechanism. In a sense that >>> every time something is loaded or unloaded entire machine freezes, >>>

Re: Module loading/unloading and "The Stop Machine"

2008-02-21 Thread Max Krasnyanskiy
Tejun Heo wrote: Max Krasnyanskiy wrote: Thanks for the info. I guess I missed that from the code. In any case that seems like a pretty heavy refcounting mechanism. In a sense that every time something is loaded or unloaded entire machine freezes, potentially for several milliseconds. Normally

Re: Module loading/unloading and "The Stop Machine"

2008-02-21 Thread Tejun Heo
Max Krasnyanskiy wrote: > Thanks for the info. I guess I missed that from the code. In any case > that seems like a pretty heavy refcounting mechanism. In a sense that > every time something is loaded or unloaded entire machine freezes, > potentially for several milliseconds. Normally it's not a

Re: Module loading/unloading and "The Stop Machine"

2008-02-21 Thread Max Krasnyanskiy
Hi Tejun, Max Krasnyansky wrote: I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. There was a recent discussion on LKML about CPU isolation patches I'm working on. One of the patches makes stop machine ignore the isolated CPUs. People

Re: Module loading/unloading and The Stop Machine

2008-02-21 Thread Tejun Heo
Max Krasnyanskiy wrote: Thanks for the info. I guess I missed that from the code. In any case that seems like a pretty heavy refcounting mechanism. In a sense that every time something is loaded or unloaded entire machine freezes, potentially for several milliseconds. Normally it's not a big

Re: Module loading/unloading and The Stop Machine

2008-02-21 Thread Max Krasnyanskiy
Tejun Heo wrote: Max Krasnyanskiy wrote: Thanks for the info. I guess I missed that from the code. In any case that seems like a pretty heavy refcounting mechanism. In a sense that every time something is loaded or unloaded entire machine freezes, potentially for several milliseconds. Normally

Re: Module loading/unloading and The Stop Machine

2008-02-21 Thread Max Krasnyanskiy
Hi Tejun, Max Krasnyansky wrote: I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. There was a recent discussion on LKML about CPU isolation patches I'm working on. One of the patches makes stop machine ignore the isolated CPUs. People

Re: Module loading/unloading and The Stop Machine

2008-02-21 Thread Tejun Heo
Max Krasnyanskiy wrote: Tejun Heo wrote: Max Krasnyanskiy wrote: Thanks for the info. I guess I missed that from the code. In any case that seems like a pretty heavy refcounting mechanism. In a sense that every time something is loaded or unloaded entire machine freezes, potentially for

Re: Module loading/unloading and The Stop Machine

2008-02-21 Thread Max Krasnyanskiy
Tejun Heo wrote: Max Krasnyanskiy wrote: Tejun Heo wrote: Max Krasnyanskiy wrote: Thanks for the info. I guess I missed that from the code. In any case that seems like a pretty heavy refcounting mechanism. In a sense that every time something is loaded or unloaded entire machine freezes,

Re: Module loading/unloading and "The Stop Machine"

2008-02-13 Thread Tejun Heo
Hello, Max. Max Krasnyansky wrote: > I was hopping you could answer a couple of questions about module > loading/unloading > and the stop machine. > There was a recent discussion on LKML about CPU isolation patches I'm working > on. > One of the patches makes stop machine i

Re: Module loading/unloading and "The Stop Machine"

2008-02-13 Thread Tejun Heo
Jike Song wrote: > On 2/8/08, Max Krasnyansky <[EMAIL PROTECTED]> wrote: >> Hi Rusty, >> >> I was hopping you could answer a couple of questions about module >> loading/unloading >> and the stop machine. > > I'm curious to know why it is called `stop

Re: Module loading/unloading and "The Stop Machine"

2008-02-13 Thread Jike Song
On 2/8/08, Max Krasnyansky <[EMAIL PROTECTED]> wrote: > Hi Rusty, > > I was hopping you could answer a couple of questions about module > loading/unloading > and the stop machine. I'm curious to know why it is called `stop machine', which is a queer name without any

Re: Module loading/unloading and The Stop Machine

2008-02-13 Thread Jike Song
On 2/8/08, Max Krasnyansky [EMAIL PROTECTED] wrote: Hi Rusty, I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. I'm curious to know why it is called `stop machine', which is a queer name without any relationship with its function

Re: Module loading/unloading and The Stop Machine

2008-02-13 Thread Tejun Heo
Hello, Max. Max Krasnyansky wrote: I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. There was a recent discussion on LKML about CPU isolation patches I'm working on. One of the patches makes stop machine ignore the isolated CPUs

Re: Module loading/unloading and "The Stop Machine"

2008-02-08 Thread Max Krasnyanskiy
Max Krasnyansky wrote: Hi Rusty, I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. There was a recent discussion on LKML about CPU isolation patches I'm working on. One of the patches makes stop machine ignore the isolated CPUs. People

Re: Module loading/unloading and The Stop Machine

2008-02-08 Thread Max Krasnyanskiy
Max Krasnyansky wrote: Hi Rusty, I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. There was a recent discussion on LKML about CPU isolation patches I'm working on. One of the patches makes stop machine ignore the isolated CPUs. People

Module loading/unloading and "The Stop Machine"

2008-02-07 Thread Max Krasnyansky
Hi Rusty, I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. There was a recent discussion on LKML about CPU isolation patches I'm working on. One of the patches makes stop machine ignore the isolated CPUs. People of course had questions

Module loading/unloading and The Stop Machine

2008-02-07 Thread Max Krasnyansky
Hi Rusty, I was hopping you could answer a couple of questions about module loading/unloading and the stop machine. There was a recent discussion on LKML about CPU isolation patches I'm working on. One of the patches makes stop machine ignore the isolated CPUs. People of course had questions