Re: zram/zsmalloc issues in very low memory conditions

From: Bob Liu
Date: Thu Oct 31 2013 - 20:36:13 EST

Hi Olav,

On 11/01/2013 07:34 AM, Olav Haugan wrote:
> Hi Luigi,
> On 10/24/2013 6:12 PM, Luigi Semenzato wrote:
>> On Thu, Oct 24, 2013 at 5:35 PM, Olav Haugan <ohaugan@xxxxxxxxxxxxxx> wrote:
>>> Hi Bob, Luigi,
>>> On 10/23/2013 5:55 PM, Bob Liu wrote:
>>>> On 10/24/2013 05:51 AM, Olav Haugan wrote:
>>>> By the way, could you take a try with zswap? Which can write pages to
>>>> real swap device if compressed pool is full.
>>> zswap might not be feasible in all cases if you only have flash as
>>> backing storage.
>> Zswap can be configured to run without a backing storage.
> I was under the impression that zswap requires a backing storage. Can
> you elaborate on how to configure zswap to not need a backing storage?

AFAIK, currently zswap can't be used without a backing storage.
Perhaps you can take a try by creating a swap device backed by a file on

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at