Zswap: should we use zsmalloc as default allocator?

According to zswap: change zswap's default allocator to zsmalloc | Patchew, there is no reason to use zbud/z3fold zpool allocators now comparing to zsmalloc, which has became the default in upstream kernel.

But Fedora still uses zbud:

$ grep CONFIG_ZSWAP_ZPOOL /boot/config-6.12.6-200.fc41.x86_64
CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y
# CONFIG_ZSWAP_ZPOOL_DEFAULT_Z3FOLD_DEPRECATED is not set
# CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC is not set
CONFIG_ZSWAP_ZPOOL_DEFAULT="zbud"

Should this default be changed?

1 Like

Not sure if you will connect with the right people here.

You could ask on the fedora devel mail list or raise a bug against the fedora kernel to get the issue noticed.

1 Like

I think that has best chances to get discussed when put into the devel mailing list → devel - Fedora mailing-lists

You can log in with your existing FAS account (so the one you use here) and then subscribe to the mailing list.

Thanks! I’m new here I didn’t know about this list yet.

1 Like

No worries :slight_smile: Thanks for taking care on how to improve Fedora :classic_smiley:

Feel free to ask here if anything doesn’t work with subscribing to the mailing list. It ain’t the most straightforward piece in our realm (many lobby to integrate the mailing list here in Discourse, which might happen at some time *spoiler alert*)