于 2014年05月12日 16:03, Dean Jenkins 写道:
Well, the locking might now be OK but due to an existing issue the TX will be woken up excessively with no new characters to transmit so there will be excessive context switching with the new work queue that results in no useful work done. There is an API issue in HCI LDISC because TTY_DO_WRITE_WAKEUP is set BEFORE checking whether any characters remain pending to be sent. This means most of the time hci_uart_tx_wakeup() is unnecessarily called will no chance of seeing any remain pending characters to be process. This weakness contributed to triggering lockup issue.
You can send a patch to fix the Bluetooth code. :) I am happy if you can improve the Bluetooth. thanks Huang Shijie -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html