diff options
| author | Kundan Kumar <[email protected]> | 2024-09-11 06:49:34 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-09-11 13:24:01 +0000 |
| commit | d3bfbfb1248498656cd25c51e41c1e31219bd0dd (patch) | |
| tree | 77b5c25b9a8f912a652b81863e5bfa359823da07 /security/selinux/hooks.c | |
| parent | block: introduce folio awareness and add a bigger size from folio (diff) | |
| download | kernel-d3bfbfb1248498656cd25c51e41c1e31219bd0dd.tar.gz kernel-d3bfbfb1248498656cd25c51e41c1e31219bd0dd.zip | |
mm: release number of pages of a folio
Add a new function unpin_user_folio() to put the refs of a folio by
npages count.
The check for BIO_PAGE_PINNED flag is removed as it is already checked
in bio_release_pages().
Signed-off-by: Kundan Kumar <[email protected]>
Tested-by: Luis Chamberlain <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
