Messages in this thread | | | Date | Mon, 11 Oct 2021 09:20:36 +0200 (CEST) | From | Christoph Lameter <> | Subject | Re: [PATCH] mm, slub: Use prefetchw instead of prefetch |
| |
On Fri, 8 Oct 2021, Hyeonggon Yoo wrote:
> It's certain that an object will be not only read, but also > written after allocation.
get_freepointer is used in multiple code path not only in allocation. It is for example used when scanning through a freelist.
With this change all objects get needlessly dirtied and the cross cpu cache contention is increased.
| |