Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pmrelated ? ]

From: Colin Cross
Date: Wed Aug 07 2013 - 19:34:16 EST

On Wed, Aug 7, 2013 at 4:15 PM, Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote:
> On Thu, Aug 8, 2013 at 12:58 AM, Colin Cross <ccross@xxxxxxxxxxx> wrote:
>> Can you try add a call to show_state_filter(TASK_UNINTERRUPTIBLE) in
>> the error path of try_to_freeze_tasks(), where it prints the "refusing
>> to freeze" message? It will print the stack trace of every thread
>> since they are all in the freezer, so the output will be very long.
> If you provide a patch, I will give it a try.

Try the attached patch.

Attachment: 0001-HACK-print-stack-trace-for-all-tasks-when-freezing-f.patch
Description: Binary data