On Thu, 10 Sep 2015, Vlastimil Babka wrote: > > kfree at some point calls slab_free(). That function has a barrier. All > > free operations go through it. > > SLAB doesn't have such barrier AFAICS. It will put the object on per-cpu cache > and that's it. Only flushing the full cache takes a spin lock. SLAB disables and enables interrupts. Isnt that also considered a form of barrier? -- 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>