Subject: Re: [virtio-net] BUG: sleeping function called from invalid context at kernel/mutex.c:616

From: Jason Wang <[email-masked]>
Date: Mon, 28 Oct 2013 13:44:04 +0800

On 10/24/2013 07:20 AM, Fengguang Wu wrote:
> Yes it reduces the sleeping function bug:
>
> /kernel/x86_64-lkp-CONFIG_SCSI_DEBUG/7c4ed2767afb813493b0a8fb18d666cd44550963
>
> +------------------------------------------------------------------------------------+-----------+--------------+--------------+
> |                                                                                    | v3.12-rc3 | 3ab098df35f8 | 7c4ed2767afb |
> +------------------------------------------------------------------------------------+-----------+--------------+--------------+
> | good_boots                                                                         | 30        | 0            | 93           |
> | has_kernel_error_warning                                                           | 0         | 20           | 7            |
> | BUG:sleeping_function_called_from_invalid_context_at_kernel/mutex.c                | 0         | 20           |              |
> | INFO:rcu_sched_self-detected_stall_on_CPU(t=jiffies_g=c=q=)                        | 0         | 0            | 1            |
> | INFO:task_blocked_for_more_than_seconds                                            | 0         | 0            | 2            |
> | INFO:NMI_handler(arch_trigger_all_cpu_backtrace_handler)took_too_long_to_run:msecs | 0         | 0            | 1            |
> | Kernel_panic-not_syncing:hung_task:blocked_tasks                                   | 0         | 0            | 1            |
> | BUG:kernel_test_crashed                                                            | 0         | 0            | 3            |
> | BUG:kernel_test_hang                                                               | 0         | 0            | 1            |
> +------------------------------------------------------------------------------------+-----------+--------------+--------------+
>
> However I'll need to increase tests on v3.12-rc3 to make sure it's not
> the patch that added the other error messages.
>
> Thanks,
> Fengguang

Thanks, any more update on the result of v3.12-rc3 for this?