Re: [PATCH 1/3] mm: generalize VM_BUG_ON() macros

From: Christoph Lameter
Date: Thu Oct 02 2014 - 13:03:38 EST


On Wed, 1 Oct 2014, Andrew Morton wrote:

> I can't say I'm a fan of this. We don't do this sort of thing anywhere
> else in the kernel and passing different types to the same thing in
> different places is unusual and exceptional. We gain very little from
> this so why bother?

I feel the same. This smells awfully like C++ overloading of functions
etc which I think often confuses the heck out of people.

--
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/