zram_drv-allow-reclaim-on-bio_alloc.patch removed from -mm tree
The patch titled
Subject: zram_drv: allow reclaim on bio_alloc
has been removed from the -mm tree. Its filename was
zram_drv-allow-reclaim-on-bio_alloc.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jaewon Kim <[email protected]>
Subject: zram_drv: allow reclaim on bio_alloc
The read_from_bdev_async is not called on atomic context. So GFP_NOIO is available rather than GFP_ATOMIC. If there were reclaimable pages with GFP_NOIO, we can avoid allocation failure and page fault failure.
Signed-off-by Jaewon Kim <[email protected]>
Reported-by Yong-Taek Lee <[email protected]>
Acked-by Minchan Kim <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/zram/zram_drv.c renamed from drivers/block/zram/zram_drv.c~zram_drv-allow-reclaim-on-bio_alloc +1 -1
@@ -587,7 +587,7 @@ static int read_from_bdev_async(struct z {struct bio *bio; - bio =bio_alloc (GFP_ATOMIC ,1 ); + bio =bio_alloc (GFP_NOIO ,1 );if (!bio)return -ENOMEM ;
_
Patches currently in -mm which might be from [email protected] are