Commit bb3860c
s390/nmi: get rid of private slab cache
Get rid of private "nmi_save_areas" slab cache. The only reason this was
introduced years ago was that with some slab debugging options allocations
would only guarantee a minimum alignment of ARCH_KMALLOC_MINALIGN, which
was eight bytes back then. This is not sufficient for the extended machine
check save area.
However since commit 59bb479 ("mm, sl[aou]b: guarantee natural
alignment for kmalloc(power-of-two)") kmalloc guarantees a power-of-two
alignment even with debugging options enabled.
Therefore the private slab cache can be removed.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>1 parent 742aed0 commit bb3860c
1 file changed
Lines changed: 9 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 51 | | |
61 | 52 | | |
62 | 53 | | |
| |||
74 | 65 | | |
75 | 66 | | |
76 | 67 | | |
77 | | - | |
| 68 | + | |
78 | 69 | | |
79 | 70 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 71 | + | |
95 | 72 | | |
96 | 73 | | |
97 | 74 | | |
98 | 75 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 76 | + | |
| 77 | + | |
102 | 78 | | |
103 | 79 | | |
104 | 80 | | |
105 | | - | |
106 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
107 | 85 | | |
108 | 86 | | |
109 | 87 | | |
110 | 88 | | |
111 | 89 | | |
112 | 90 | | |
113 | 91 | | |
114 | | - | |
| 92 | + | |
115 | 93 | | |
116 | 94 | | |
117 | 95 | | |
| |||
0 commit comments