Commit eb1d46f
block: unpin user pages belonging to a folio at once
Use newly added mm function unpin_user_folio() to put refs by npages
count.
Signed-off-by: Kundan Kumar <kundan.kumar@samsung.com>
Tested-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20240911064935.5630-5-kundan.kumar@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>1 parent d3bfbfb commit eb1d46f
1 file changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
1193 | | - | |
1194 | 1193 | | |
1195 | 1194 | | |
1196 | 1195 | | |
1197 | 1196 | | |
1198 | 1197 | | |
1199 | 1198 | | |
1200 | 1199 | | |
1201 | | - | |
1202 | 1200 | | |
1203 | 1201 | | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
| 1202 | + | |
1207 | 1203 | | |
1208 | 1204 | | |
1209 | 1205 | | |
| |||
1241 | 1237 | | |
1242 | 1238 | | |
1243 | 1239 | | |
1244 | | - | |
1245 | | - | |
| 1240 | + | |
| 1241 | + | |
1246 | 1242 | | |
1247 | 1243 | | |
1248 | 1244 | | |
| |||
1258 | 1254 | | |
1259 | 1255 | | |
1260 | 1256 | | |
1261 | | - | |
1262 | | - | |
| 1257 | + | |
| 1258 | + | |
1263 | 1259 | | |
1264 | 1260 | | |
1265 | 1261 | | |
| |||
0 commit comments