Re: [RFC] SL[AUO]B common code 5/9] slabs: Common definition for boot state of the slab allocators

Glauber Costa
2012-05-17T14:21:23Z

On 05/17/2012 06:16 PM, Christoph Lameter wrote:
> That is only true if you add another state.

precisely.

>> > If for whatever reordering people may decide doing another state is added, or
>> > this function is called later, that will fail
> Then the assumptions that SYSFS is the final state is no longer true and
> therefore the code needs to be inspected if this change affects anything.
>
yes, by humans, that are known to make mistakes. Using >= is a tiny
attitude that protects about failures in this realm.