Re: [next:master 9660/12021] mm/vmstat.c:1343:2-5: WARNING: Use BUG_ON

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 9 Aug 2014, Julia Lawall wrote:

> I suspect that using BUG_ON here is not a good idea, because the tested
> called function looks pretty important.  But I have forwarded it on in
> case someone thinks otherwise.

BUG_ON is not a good idea here because the function does essential
allocation and is not just a function that checks for certain error
condition.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]