Toward a better list iterator for the kernel
Toward a better list iterator for the kernel
Posted Mar 10, 2022 23:53 UTC (Thu) by NYKevin (subscriber, #129325)In reply to: Toward a better list iterator for the kernel by roc
Parent article: Toward a better list iterator for the kernel
If the compiler wrongly thinks that a variable is used before initialization, then it will probably fail to optimize away the dead store resulting from eager initialization. Whether that dead store is worth worrying about is another matter, of course, and probably depends on how hot a given codepath is.
