diff options
author | 2024-12-17 00:04:34 +0900 | |
---|---|---|
committer | 2025-01-25 20:22:33 -0800 | |
commit | 4610d35c14fc861d1795f8396d8c245ee43f3c37 (patch) | |
tree | 3358c420de5e2ec7d07fffae9d0898b7058debf0 /arch | |
parent | mm/zsmalloc: use zpdesc in trylock_zspage()/lock_zspage() (diff) | |
download | wireguard-linux-4610d35c14fc861d1795f8396d8c245ee43f3c37.tar.xz wireguard-linux-4610d35c14fc861d1795f8396d8c245ee43f3c37.zip |
mm/zsmalloc: convert __zs_map_object/__zs_unmap_object to use zpdesc
These two functions take a pointer to an array of struct page. Make
__zs_{map,unmap}_object() take pointer to an array of zpdesc instead of
page.
Add silly type casting when calling them. Casting will be removed later.
Link: https://lkml.kernel.org/r/20241216150450.1228021-4-42.hyeyoo@gmail.com
Signed-off-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Alex Shi <alexs@kernel.org>
Acked-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Tested-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions