Bug 198585 - zswap z3fold lockup
Summary: zswap z3fold lockup
Status: NEW
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Andrew Morton
Depends on:
Reported: 2018-01-25 10:42 UTC by Andrew
Modified: 2019-02-12 10:49 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.14.15-1
Tree: Mainline
Regression: No

proposed patch (2.15 KB, text/plain)
2018-02-10 11:39 UTC, Vitaly

Description Andrew 2018-01-25 10:42:31 UTC
When i use zswap with /sys/module/zswap/parameters/zpool setted to z3fold system lockups when i open many tabs in chromium. With zbud all is OK.

zswap settings:

NAME                             TYPE SIZE USED PRIO
/home/amachulin/my-data/swapfile file   8G   4G   50

System journal is clean, no error and warning messages.

Lockup happened in 90% cases. In other 10% lockup happens after exit from sleep.

Sorry for my English.
Comment 1 Vitaly 2018-02-10 11:39:02 UTC
Created attachment 274087 [details]
proposed patch

I can't be sure I've seen the same problem you'd reported since you hadn't provided that much of a detail. However, I believe this patch is worth a try.
Comment 2 Ken Sharp 2019-02-12 10:49:52 UTC
https://bugzilla.kernel.org/show_bug.cgi?id=201603 could be related or the cause may be the same.

Note You need to log in before you can comment on or make changes to this bug.