Re: [PATCH] mm: mmap: use pr_emerg when printing BUG related information

From: Sasha Levin
Date: Thu Sep 04 2014 - 16:51:29 EST


On 09/04/2014 04:30 PM, Andrew Morton wrote:
> On Thu, 4 Sep 2014 14:36:22 -0400 Sasha Levin <sasha.levin@xxxxxxxxxx> wrote:
>
>> Make sure we actually see the output of validate_mm() and browse_rb()
>> before triggering a BUG(). pr_info isn't shown by default so the reason
>> for the BUG() isn't obvious.
>>
>
> yup, I'll scoot that into 3.17.
>
>
> That code's actually pretty cruddy. How does this look?

The patch looks good.

I've got sidetracked and started working on dump_mm()...


Thanks,
Sasha


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/