summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-01-18 06:40:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-18 06:40:47 +0200
commite3a8b6a1e70c37702054ae3c7c07ed828435d8ee (patch)
treef1e15d987dcfd84b61f370b9ab71f833513c5429 /mm
parent62b488875c0551822ac3b961d04800d4c7a655d9 (diff)
parent07f910f9b7295b6a28b337fedb56e612684c5659 (diff)
downloadlinux-e3a8b6a1e70c37702054ae3c7c07ed828435d8ee.tar.bz2
Merge tag 'slab-for-5.17-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab
Pull more slab updates from Vlastimil Babka: "Finish the conversion to struct slab by removing slab-specific fields from struct page. The first slab update (see merge commit ca1a46d6f506) did most of the conversion, but there was also series in iommu tree removing the iommu's usage of struct page 'freelist' field, blocking the final struct page cleanup. Now that the iommu changes have been merged, we can finish the job" * tag 'slab-for-5.17-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab: mm: Remove slab from struct page
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/slab.h b/mm/slab.h
index 7edb7d23f141..c7f2abc2b154 100644
--- a/mm/slab.h
+++ b/mm/slab.h
@@ -67,14 +67,8 @@ struct slab {
static_assert(offsetof(struct page, pg) == offsetof(struct slab, sl))
SLAB_MATCH(flags, __page_flags);
SLAB_MATCH(compound_head, slab_list); /* Ensure bit 0 is clear */
-SLAB_MATCH(slab_list, slab_list);
#ifndef CONFIG_SLOB
SLAB_MATCH(rcu_head, rcu_head);
-SLAB_MATCH(slab_cache, slab_cache);
-#endif
-#ifdef CONFIG_SLAB
-SLAB_MATCH(s_mem, s_mem);
-SLAB_MATCH(active, active);
#endif
SLAB_MATCH(_refcount, __page_refcount);
#ifdef CONFIG_MEMCG