summaryrefslogtreecommitdiff
path: root/mm/kasan
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-03-02 13:27:50 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-07 23:18:26 -0500
commit77fcd88de2ae1309c16e4fc35fb90cbc60c3d2ec (patch)
treef8ba44500c7d06eed1f3c4794759b4226d6a7c09 /mm/kasan
parent1054c0f498fcb57de4858313d974aee23daf7376 (diff)
mm/slub: Make __ksize() fastervmalloc_size
with slab gone, we now have a free u32 in struct slab. This steals it to make __ksize() faster; it's now a single dependent load, instead of two. This is going to be important for tracking the amount of memory stranded by RCU, which we want to be able to do if we're going to be freeing all pagecache folios (and perhaps all folios) via RCU. Cc: linux-mm@kvack.org Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions