diff options
| author | 2021-10-04 14:45:54 +0100 | |
|---|---|---|
| committer | 2022-01-06 12:25:51 +0100 | |
| commit | 0c24811b12ba29a6881e8ec0d01ad3f3b091da02 (patch) | |
| tree | a90af2ea9e658285a479510f066c17d477cd8be9 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | mm: Convert virt_to_cache() to use struct slab (diff) | |
| download | linux-dev-0c24811b12ba29a6881e8ec0d01ad3f3b091da02.tar.xz linux-dev-0c24811b12ba29a6881e8ec0d01ad3f3b091da02.zip | |
mm: Convert __ksize() to struct slab
In SLUB, use folios, and struct slab to access slab_cache field.
In SLOB, use folios to properly resolve pointers beyond
PAGE_SIZE offset of the object.
[ vbabka@suse.cz: use folios, and only convert folio_test_slab() == true
folios to struct slab ]
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Roman Gushchin <guro@fb.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
