[PATCH] stopmachine: add stopmachine_timeout v4

2008-07-17 Thread Hidetoshi Seto
stopmachine_timeout default to 0 (= never timeout) v2: - remove fix for warning since it will be fixed upcoming typesafe patches - make stopmachine_timeout from secs to msecs - allow disabling timeout by setting the stopmachine_timeout to 0 Signed-off-by: Hidetoshi Seto [EMAIL PROTECTED

Re: [PATCH] stopmachine: add stopmachine_timeout v2

2008-07-16 Thread Hidetoshi Seto
Max Krasnyansky wrote: I'd set the default to zero. I beleive that's what Heiko suggested too. Oh, yes, you are right. I missed to catch the suggestion. I'll post fixed version soon. Wait a minutes... Thanks, H.Seto ___ Virtualization mailing list

[PATCH] stopmachine: add stopmachine_timeout v3

2008-07-16 Thread Hidetoshi Seto
stopmachine_timeout from secs to msecs - allow disabling timeout by setting the stopmachine_timeout to 0 Signed-off-by: Hidetoshi Seto [EMAIL PROTECTED] --- kernel/stop_machine.c | 54 ++-- kernel/sysctl.c | 15 + 2 files changed, 66 insertions

Re: [PATCH] stopmachine: add stopmachine_timeout v3

2008-07-16 Thread Hidetoshi Seto
Peter Zijlstra wrote: I really don't like this, it means the system is really screwed up and doesn't deserve to continue. It can be said that after timeout we just back to previous state, where machine already limp(=partially screwed up), but have some degree of performance. We might be able

[PATCH] stopmachine: add stopmachine_timeout v2

2008-07-15 Thread Hidetoshi Seto
stopmachine_timeout from secs to msecs, and set default to 200 msec (since v1's arbitrary 5 sec is too long) - allow disabling timeout by setting the stopmachine_timeout to 0 Signed-off-by: Hidetoshi Seto [EMAIL PROTECTED] --- kernel/stop_machine.c | 54