On Mon, 20 Jul 2015, Baoquan He wrote: > chunk->map[] contains <offset|in-use flag> of each area. Now add a > new macro PCPU_CHUNK_AREA_IN_USE and use it as the in-use flag to > replace all magic number '1'.
Hmmm... This is a bitflag and the code now looks like there is some sort of bitmask that were are using. Use bitops or something else that clearly implies that a bit is flipped instead? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

