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

Dave Hansen
2018-06-28T14:05:22Z

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?