Commit 6a248b1
memory-failure: convert truncate_error_page to truncate_error_folio
mainline inclusion
from mainline-v6.8-rc1
category: performance
Both callers now have a folio, so pass it in. Nothing downstream was
expecting a tail page; that's asserted in generic_error_remove_page(), for
example.
Link: https://lkml.kernel.org/r/20231117161447.2461643-6-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
(cherry picked from commit e130b65)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 04ac684 commit 6a248b1
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
950 | 950 | | |
951 | 951 | | |
952 | 952 | | |
953 | | - | |
| 953 | + | |
954 | 954 | | |
955 | 955 | | |
956 | | - | |
957 | 956 | | |
958 | 957 | | |
959 | 958 | | |
960 | | - | |
| 959 | + | |
961 | 960 | | |
962 | 961 | | |
963 | 962 | | |
| |||
1078 | 1077 | | |
1079 | 1078 | | |
1080 | 1079 | | |
1081 | | - | |
| 1080 | + | |
1082 | 1081 | | |
1083 | 1082 | | |
1084 | 1083 | | |
| |||
1212 | 1211 | | |
1213 | 1212 | | |
1214 | 1213 | | |
1215 | | - | |
| 1214 | + | |
1216 | 1215 | | |
1217 | 1216 | | |
1218 | 1217 | | |
| |||
0 commit comments