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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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 triggered by the monitoing process
> because the target is still -1.
> 
> Signed-off-by: Jan Lübbe <[email protected]>

nifty! I'm wondering what the symptoms of this bug were - how did you 
notice it? Also, i'm wondering how you managed to debug this - looks 
quite hard to trigger this race, right?

Acked-by: Ingo Molnar <[email protected]>

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux