LINUX.ORG.RU

История изменений

Исправление slapin, (текущая версия) :

Попробуй вот этот коммит черри-пикнуть, но лучше еще погугли вокруг него:

commit 3a41c5dbe8bc396a7fb16ca8739e945bb003342e
Author: Gu Zheng <guz.fnst@cn.fujitsu.com>
Date:   Tue Nov 5 18:00:57 2013 +0800

    fb: reorder the lock sequence to fix potential dead lock
    
    Following commits:
    
    50e244cc79 fb: rework locking to fix lock ordering on takeover
    e93a9a8687 fb: Yet another band-aid for fixing lockdep mess
    054430e773 fbcon: fix locking harder
    
    reworked locking to fix related lock ordering on takeover, and introduced console_lock
    into fbmem, but it seems that the new lock sequence(fb_info->lock ---> console_lock)
    is against with the one in console_callback(console_lock ---> fb_info->lock), and leads to
    a potential dead lock as following:

Исходная версия slapin, :

Попробуй вот этот коммит черри-пикнуть, но лучше еще погугли вокруг него: commit 3a41c5dbe8bc396a7fb16ca8739e945bb003342e Author: Gu Zheng <guz.fnst@cn.fujitsu.com> Date: Tue Nov 5 18:00:57 2013 +0800

fb: reorder the lock sequence to fix potential dead lock Following commits: 50e244cc79 fb: rework locking to fix lock ordering on takeover e93a9a8687 fb: Yet another band-aid for fixing lockdep mess 054430e773 fbcon: fix locking harder reworked locking to fix related lock ordering on takeover, and introduced console_lock into fbmem, but it seems that the new lock sequence(fb_info->lock ---> console_lock) is against with the one in console_callback(console_lock ---> fb_info->lock), and leads to a potential dead lock as following: