[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181129022930.GB6379@jagdpanzerIV>
Date: Thu, 29 Nov 2018 11:29:30 +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>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Joey Pabalinas <joeypabalinas@...il.com>
Subject: Re: [PATCH v3 4/7] zram: introduce ZRAM_IDLE flag
On (11/27/18 14:54), Minchan Kim wrote:
> To support idle page writeback with upcoming patches, this patch
> introduces a new ZRAM_IDLE flag.
>
> Userspace can mark zram slots as "idle" via
> "echo all > /sys/block/zramX/idle"
> which marks every allocated zram slot as ZRAM_IDLE.
> User could see it by /sys/kernel/debug/zram/zram0/block_state.
>
> 300 75.033841 ...i
> 301 63.806904 s..i
> 302 63.806919 ..hi
Hopefully we will never have a 't' block state :)
-ss
Powered by blists - more mailing lists