On Sat, 30 Jun 2012 17:39:58 +0800 Jeff Liu <jeff.liu@xxxxxxxxxx> wrote: > This helper only used by tty_write_message(), it will sleep until BTM lock acquired. This makes no sense at all. mutexes already sleep. Your code is also wrong for real time processes. So NAK. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html