Commit 5db009d
slab: Remove folio references from __do_krealloc()
One slight tweak I made is to calculate 'ks' earlier, which means we
can reuse it in the warning rather than calculating the object size twice.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20251113000932.1589073-10-willy@infradead.org
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>1 parent e409021 commit 5db009d
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6932 | 6932 | | |
6933 | 6933 | | |
6934 | 6934 | | |
6935 | | - | |
| 6935 | + | |
| 6936 | + | |
6936 | 6937 | | |
6937 | | - | |
6938 | | - | |
| 6938 | + | |
6939 | 6939 | | |
6940 | | - | |
6941 | | - | |
6942 | | - | |
| 6940 | + | |
| 6941 | + | |
| 6942 | + | |
6943 | 6943 | | |
6944 | | - | |
| 6944 | + | |
6945 | 6945 | | |
6946 | 6946 | | |
6947 | 6947 | | |
| |||
0 commit comments