Re: [PATCH] mmc: card: don't use PF_MEMALLOC

From: Jens Axboe
Date: Wed Mar 16 2016 - 10:41:35 EST


On 03/16/2016 04:43 AM, Martin Kepplinger wrote:
PF_MEMALLOC is assigned to processes by mm. If drivers prevent memory
reclaim and mm is not in control, strange hang-up or OOM Killer invocation
could happen.

Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx>
---
I use MMC cards with this change perfectly fine. As I understand it,
even *if* PF_MEMALLOC has a real reason to be here, I think it should
be very well documented.

Did you try swap on mmcblk?

--
Jens Axboe