Re: [PATCH v4] zram: add restriction on dynamic zram device creation
From: Minchan Kim
Date: Thu Oct 15 2020 - 14:48:45 EST
On Mon, Oct 12, 2020 at 02:04:00PM +0800, Yi Wang wrote:
> From: zhanglin <zhang.lin16@xxxxxxxxxx>
>
> Add max_num_devices to limit dynamic zram device creation to prevent
> potential OOM
>
> Signed-off-by: zhanglin <zhang.lin16@xxxxxxxxxx>
> Signed-off-by: Yi Wang <wang.yi59@xxxxxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>