Re: [PATCH v6 4/5] mm/sparse: Optimize memmap allocation during sparse_init()

From: Dave Hansen
Date: Thu Jun 28 2018 - 10:05:24 EST


On 06/28/2018 05:12 AM, Pavel Tatashin wrote:
> You did not, this is basically a safety check. A BUG_ON() would be
> better here. As, this something that should really not happening, and
> would mean a bug in the current project.

Is this at a point in boot where a BUG_ON() generally produces useful
output, or will it just produce and early-boot silent hang with no
console output?