twx-linux/drivers/block/zram
Matthew Wilcox (Oracle) 04cb7502a5 zsmalloc: use all available 24 bits of page_type
Now that we have an extra 8 bits, we don't need to limit ourselves to
supporting a 64KiB page size.  I'm sure both Hexagon users are grateful,
but it does reduce complexity a little.  We can also remove
reset_first_obj_offset() as calling __ClearPageZsmalloc() will now reset
all 32 bits of page_type.

Link: https://lkml.kernel.org/r/20240821173914.2270383-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-09-03 21:15:43 -07:00
..
Kconfig zsmalloc: use all available 24 bits of page_type 2024-09-03 21:15:43 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
zcomp.c zram: do not allocate physically contiguous strm buffers 2024-02-22 10:24:59 -08:00
zcomp.h zram: zcomp: remove zcomp_set_max_streams() declaration 2024-03-04 17:01:17 -08:00
zram_drv.c block: move the synchronous flag to queue_limits 2024-06-19 07:58:28 -06:00
zram_drv.h zram: don't bother with reopening - just use O_EXCL for open 2024-05-02 17:39:26 -04:00