# Re: \[PATCH\] fbcon: fix locking harder

- From: Josh Boyer \<hidden\>
- Date: 2013-01-25 14:08:11 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/01/3990823
- Thread: https://ratatoskr.run/linux-fbdev/2013/01/3990320/t.md

```text
On Thu, Jan 24, 2013 at 8:43 PM, Dave Airlie [ref] wrote:
> Okay so Alan's patch handled the case where there was no registered fbcon,
> however the other path entered in set_con2fb_map pit.
>
> In there we called fbcon_takeover, but we also took the console lock in a couple
> of places. So push the console lock out to the callers of set_con2fb_map,
>
> this means fbmem and switcheroo needed to take the lock around the fb notifier
> entry points that lead to this.
>
> This should fix the efifb regression seen by Maarten.
>
> Signed-off-by: Dave Airlie <airlied@redhat.com>

Linus might not be taking this for 3.8 because of lack of testing, but
that doesn't mean the problems don't exist in 3.8 (and older).  Maybe
throw a CC for stable on the patch?  That way it works its way back when
it does get merged.

josh
```
