[dm-devel] [PATCH 6/6] mm: Add memalloc_nowait

Mike Snitzer snitzer at redhat.com
Thu Sep 24 00:39:02 UTC 2020


On Thu, Jun 25 2020 at  7:31am -0400,
Matthew Wilcox (Oracle) <willy at infradead.org> wrote:

> Similar to memalloc_noio() and memalloc_nofs(), memalloc_nowait()
> guarantees we will not sleep to reclaim memory.  Use it to simplify
> dm-bufio's allocations.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>
> ---
>  drivers/md/dm-bufio.c    | 30 ++++++++----------------------
>  include/linux/sched.h    |  1 +
>  include/linux/sched/mm.h | 12 ++++++++----
>  3 files changed, 17 insertions(+), 26 deletions(-)


Hi,

Curious on the state of this patchset?  Not seeing it in next-20200923

The dm-bufio cleanup looks desirable.

Thanks,
Mike




More information about the dm-devel mailing list