summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2026-08-06 12:16:32 +0900
committerAndrew Morton <akpm@linux-foundation.org>2026-08-24 18:43:06 -0700
commit184bf187c45ba6c1141aa7fe10bf10f85d5a7634 (patch)
tree8867a3234a24a90e5caf21e5e428af442c99123e /include/linux
parent8be7c167be5792ce9c9fcb784b4cd086624feed2 (diff)
zram: switch to unsigned long indexing
zram has always used "unsigned int" for (page) index calculations, which unnecessarily limited max zram disksize. Switch to "unsigned long" and permit much larger zram devices. Link: https://lore.kernel.org/20260806031640.536615-1-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Co-developed-by: Longlong Xia <xialonglong2025@163.com> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions