[Cbe-oss-dev] [PATCH 2/2] ps3fb: fix deadlock on kexec()
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sat Jan 12 08:57:09 EST 2008
On Fri, 2008-01-11 at 11:15 +0100, Geert Uytterhoeven wrote:
> On Thu, 10 Jan 2008, Geert Uytterhoeven wrote:
> > On Thu, 10 Jan 2008, Jeremy Kerr wrote:
> > - If you have only one active frame buffer device, fbcon_fb_unbind() won't
> > call set_con2fb_map(), as there's no other frame buffer device to switch
> > to.
> > - ps3fb_release() calls ps3fb_sync() only when /dev/fb0 is open.
> >
> > On normal shutdown, it doesn't happen because all applications are killed
> > first.
>
> Which brings us to another question: shouldn't all processes be killed for
> doing a safe kexec, just like is done for shutdown/halt/poweroff (unless you
> use `-f')? Of course this makes things more complicated, as the actual kexec
> can no longer be done by the application, but must be handled by init instead.
I tend to agree but that's userland sauce :-)
Ben.
More information about the cbe-oss-dev
mailing list