Re: [PATCH 03/16] mm/slab: remove the checks for slab implementation bug

From: Christoph Lameter
Date: Thu Jan 14 2016 - 10:23:48 EST

On Thu, 14 Jan 2016, Joonsoo Kim wrote:

> Some of "#if DEBUG" are for reporting slab implementation bug
> rather than user usecase bug. It's not really needed because slab
> is stable for a quite long time and it makes code too dirty. This
> patch remove it.

Maybe better convert them to VM_BUG_ON() or so?