lkml.org 
[lkml]   [2022]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] mm: skip GFP_IO if swap is zram only
On Mon, Oct 10, 2022 at 07:00:22PM +0800, zhaoyang.huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@unisoc.com>
>
> __GFP_IO is believed to prevent the allocation being suspended due to accessing
> physical block devices when reclaiming dirty pages. Zram is not considered as
> such kind of device from kernel perspective of view. Do swap things if the system
> is zram only.

No, zram is not in any way special, and for sure not important enough
to add special case hacks to the VM code.

\
 
 \ /
  Last update: 2022-10-10 15:11    [W:0.043 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site