On Wed, 9 Sep 2015, Paul E. McKenney wrote: > > But then again kfree() contains a barrier() which would block the compiler > > from moving anything into the free path. > > That barrier() is implicit in the fact that kfree() is an external > function? Or are my eyes failing me? kfree at some point calls slab_free(). That function has a barrier. All free operations go through it. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>