[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181203061148.GF427@jagdpanzerIV>
Date: Mon, 3 Dec 2018 15:11:48 +0900
From: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
To: Minchan Kim <minchan@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Joey Pabalinas <joeypabalinas@...il.com>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Subject: Re: [PATCH v4 7/7] zram: writeback throttle
On (12/03/18 15:02), Sergey Senozhatsky wrote:
> Seems like I misread writeback_limit_store() a bit.
>
> So, if I want to, say, let only 10M of writteback pages, I need to
> do
>
> echo 0 > writeback_limit
> echo 10M > writeback_limit_store // memparse format is for
> // simplicity only; I know
> // it should be in 4K units.
>
> every day. How about dropping the "echo 0" and ->stop_writeback?
Ah, this breaks the unlimited writeback.
So, nevermind my comment.
-ss
Powered by blists - more mailing lists