Messages in this thread | | | Subject | Re: [PATCH resend] vt: fix potential race in VT_WAITACTIVE handler | From | "Antonino A. Daplas" <> | Date | Mon, 02 Apr 2007 07:39:07 +0800 |
| |
On Sun, 2007-04-01 at 14:43 +0200, Michal Januszewski wrote: > From: Michal Januszewski <spock@gentoo.org> > > On a multiprocessor machine the VT_WAITACTIVE ioctl call may return 0 > if fg_console has already been updated in redraw_screen() but the > console switch itself hasn't been completed. Fix this by checking > fg_console in vt_waitactive() with the console sem held. > > Signed-off-by: Michal Januszewski <spock@gentoo.org> Acked-by: Antonino Daplas <adaplas@pol.net>
Andrew,
Drop the old version I sent to you.
Tony
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |