Re: [PATCH] fix console change race exposed by CFS

2007-09-30 Thread Ingo Molnar
* Jan Luebbe <[EMAIL PROTECTED]> wrote: > I'm currenly porting the OpenMoko patchset to 2.6.23-rc8. We are using > psplash and kdrive. When booting, I got an error from psplash about > being unable to switch consoles. Strangely, it was possible to start > kdrive manually. So i set up qemu for

Re: [PATCH] fix console change race exposed by CFS

2007-09-30 Thread Jan Luebbe
On Sun, 2007-09-30 at 09:20 +0200, Ingo Molnar wrote: > * Jan Luebbe <[EMAIL PROTECTED]> wrote: > > From: Jan Lübbe <[EMAIL PROTECTED]> > > > > The new behaviour of CFS exposes a race which occurs if a switch is > > requested when vt_mode.mode is VT_PROCESS. > > > > The process with vc->vt_pid

Re: [PATCH] fix console change race exposed by CFS

2007-09-30 Thread Ingo Molnar
* Jan Luebbe <[EMAIL PROTECTED]> wrote: > From: Jan Lübbe <[EMAIL PROTECTED]> > > The new behaviour of CFS exposes a race which occurs if a switch is > requested when vt_mode.mode is VT_PROCESS. > > The process with vc->vt_pid is signaled before vc->vt_newvt is set. This > causes the switch to

Re: [PATCH] fix console change race exposed by CFS

2007-09-30 Thread Ingo Molnar
* Jan Luebbe [EMAIL PROTECTED] wrote: From: Jan Lübbe [EMAIL PROTECTED] The new behaviour of CFS exposes a race which occurs if a switch is requested when vt_mode.mode is VT_PROCESS. The process with vc-vt_pid is signaled before vc-vt_newvt is set. This causes the switch to fail when

Re: [PATCH] fix console change race exposed by CFS

2007-09-30 Thread Jan Luebbe
On Sun, 2007-09-30 at 09:20 +0200, Ingo Molnar wrote: * Jan Luebbe [EMAIL PROTECTED] wrote: From: Jan Lübbe [EMAIL PROTECTED] The new behaviour of CFS exposes a race which occurs if a switch is requested when vt_mode.mode is VT_PROCESS. The process with vc-vt_pid is signaled before

Re: [PATCH] fix console change race exposed by CFS

2007-09-30 Thread Ingo Molnar
* Jan Luebbe [EMAIL PROTECTED] wrote: I'm currenly porting the OpenMoko patchset to 2.6.23-rc8. We are using psplash and kdrive. When booting, I got an error from psplash about being unable to switch consoles. Strangely, it was possible to start kdrive manually. So i set up qemu for

[PATCH] fix console change race exposed by CFS

2007-09-29 Thread Jan Luebbe
From: Jan Lübbe <[EMAIL PROTECTED]> The new behaviour of CFS exposes a race which occurs if a switch is requested when vt_mode.mode is VT_PROCESS. The process with vc->vt_pid is signaled before vc->vt_newvt is set. This causes the switch to fail when triggered by the monitoing process because

[PATCH] fix console change race exposed by CFS

2007-09-29 Thread Jan Luebbe
From: Jan Lübbe [EMAIL PROTECTED] The new behaviour of CFS exposes a race which occurs if a switch is requested when vt_mode.mode is VT_PROCESS. The process with vc-vt_pid is signaled before vc-vt_newvt is set. This causes the switch to fail when triggered by the monitoing process because the