Re: [PATCH] VT: Restore VT fonts on switch

From: Pavel Machek
Date: Fri Aug 08 2008 - 03:52:45 EST


Hi!

> > > > > do you have a list of which ones don't ?
> > > >
> > > > I don't, but perhaps Matthew does.
> > >
> > > Perhaps Matthew would care to file X bugs against those that get it wrong
> > > then.
> >
> > It's hardly limited to X. Fonts are set through the kernel - why
> > shouldn't it be the kernel's responsibility to ensure that they're
> > restored?
>
> Why should it be the kernels problem to clean up after buggy X drivers ?
>
> There are cases the kernel probably should handle font restore: the
> obvious one being suspend/resume. X is not one of those cases and wasting
> memory on fonts on embedded boxes that will never be seen anyway seems
> silly.
>
> For suspend/resume it might be far better to do it in user space,
> although I'm not sure what the interface would look like.

This does not parse. 'kernel should handle font restore' .... 'but it
might be better to do that in userspace'.

Actually I'd prefer to do this in kernel, so it works in cases like
suspend self-test (done from kernel), from single user mode, etc...

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/