Re: [AD] fbcon VT switch problem

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 2005-12-28 at 01:51 +1100, Peter Wang wrote:
> 
> What happens is that when a VT switch return is requested come_back() is
> called in a signal handler, via vt_switch_requested() and
> poll_console_switch().  The first thing that come_back() calls is
> _unix_bg_man->disable_interrupts(), then gfx_driver->restore_video_state().
> fb_restore() happens to call fb_vsync(), which might try to use retrace_count
> and end up in an endless loop.
> 
> The problem happens in a single thread of execution so it should not be
> any safer to put the check inside the loop.

Thanks, I see now, I was completely off from looking just at the patch.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/