2014-12-17 0:48 GMT+09:00 Christoph Lameter <cl@xxxxxxxxx>: > On Tue, 16 Dec 2014, Jesper Dangaard Brouer wrote: > >> > Ok but now there is a multiplication in the fast path. >> >> Could we pre-calculate the value (page->objects * s->size) and e.g store it >> in struct kmem_cache, thus saving the imul ? > > I think I just used the last available field for the page->address. Possibly, we can use _count field. Thanks. -- 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>