Skip to content

configs: Enable more ZRAM backends#6679

Merged
popcornmix merged 1 commit intoraspberrypi:rpi-6.12.yfrom
popcornmix:zram_backends
Feb 21, 2025
Merged

configs: Enable more ZRAM backends#6679
popcornmix merged 1 commit intoraspberrypi:rpi-6.12.yfrom
popcornmix:zram_backends

Conversation

@popcornmix
Copy link
Collaborator

6.12 kernel reworked how ZRAM backends were configured. Let's enable the ones we've lost.

I've chosen zstd as the default.

6.6 kernel supported:
$ cat /sys/block/zram0/comp_algorithm
[lzo-rle] lzo lz4 zstd

6.12 currently supports:
$ cat /sys/block/zram0/comp_algorithm
[lzo-rle] lzo

With this PR 6.12 supports:
$ cat /sys/block/zram0/comp_algorithm
lzo-rle lzo lz4 [zstd]

See: https://forums.raspberrypi.com/viewtopic.php?p=2296678#p2296678

6.12 kernel reworked how ZRAM backends were configured.
Let's enable the ones we've lost.

I've chosen zstd as the default.

6.6 kernel supported:
$ cat /sys/block/zram0/comp_algorithm
[lzo-rle] lzo lz4 zstd

6.12 currently supports:
$ cat /sys/block/zram0/comp_algorithm
[lzo-rle] lzo

With this PR 6.12 supports:
$ cat /sys/block/zram0/comp_algorithm
lzo-rle lzo lz4 [zstd]

See: https://forums.raspberrypi.com/viewtopic.php?p=2296678#p2296678

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
@popcornmix
Copy link
Collaborator Author

I'm happy to change the default and/or what's enabled if anyone feels strongly.

@popcornmix popcornmix merged commit 60e5cbd into raspberrypi:rpi-6.12.y Feb 21, 2025
12 checks passed
@popcornmix popcornmix deleted the zram_backends branch February 21, 2025 11:02
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 24, 2025
kernel: configs: Enable more ZRAM backends
See: raspberrypi/linux#6679

kernel: drm/edid: When reset, assume HDMI displays support RGB444
See: raspberrypi/linux#6638
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request Feb 24, 2025
kernel: configs: Enable more ZRAM backends
See: raspberrypi/linux#6679

kernel: drm/edid: When reset, assume HDMI displays support RGB444
See: raspberrypi/linux#6638
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants