Re: [git pull] drm: previous pull req + 1.
From: Andrew Lutomirski
Date: Mon Jun 22 2009 - 14:59:24 EST
2009/6/22 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>:
> On Mon, 22 Jun 2009, Thomas Hellström wrote:
>> It would be very helpful if we could introduce an fbdev mutex that protects
>> fbdev accesses to the kernel map and to the fbdev acceleration functions.
> Not going to happen.
> Why? 'printk'.
> If you can't handle printk, then you're basically useless. And printk
> absolutely -has- to work in bad situations (the most important messages
> could happen in any context).
What if we only guaranteed that the framebuffer is mapped when it's
showing on the screen?
printk doesn't need to write to the framebuffer immediately when X
isn't running (since the framebuffer isn't shown) and presumably the
framebuffer needs to be pinned somewhere when it's being displayed
anyway. This would involve fbcon knowing how to buffer text to be
shown later so that printk still works in interrupt context.
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/