Re: [PATCH] x86: introduce bootmem_state

H. Peter Anvin
2009-03-06T06:16:27Z

Yinghai Lu wrote:
> Impact: cleanup
>
> extend after_bootmem and after_init_bootmem to bootmem_state
> and will have BEFORE_BOOTMEM, DURING_BOOTMEM, AFTER_BOOTMEM
>

Wouldn't it make more sense to add these as system_state enumerations
and use relational comparisons on them (< <= >= >)?

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.