All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: xiubli@redhat.com, josef@toxicpanda.com
Cc: mchristi@redhat.com, hch@infradead.org, linux-block@vger.kernel.org
Subject: Re: [PATCH v3 0/2] blk-mq: Avoid memory reclaim when allocating
Date: Tue, 17 Sep 2019 08:13:08 -0600	[thread overview]
Message-ID: <426aa779-1011-5a75-bb73-ae573c229806@kernel.dk> (raw)
In-Reply-To: <20190917120910.24842-1-xiubli@redhat.com>

On 9/17/19 6:09 AM, xiubli@redhat.com wrote:
> From: Xiubo Li <xiubli@redhat.com>
> 
> Changed in V2:
> - Addressed the comment from Ming Lei, thanks.
> 
> Changed in V3:
> - Switch to memalloc_noio_save/restore from Christoph's comment, thanks.

This now seems to be a mix of both approaches, which I don't think makes
sense at all. I think we should just stick to the gfp_t being passed in,
and defining the standard mask for init time blk-mq memory allocations.

-- 
Jens Axboe


  parent reply	other threads:[~2019-09-17 14:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-17 12:09 [PATCH v3 0/2] blk-mq: Avoid memory reclaim when allocating xiubli
2019-09-17 12:09 ` [PATCH v3 1/2] blk-mq: Avoid memory reclaim when allocating request map xiubli
2019-09-17 12:09 ` [PATCH v3 2/2] blk-mq: use BLK_MQ_GFP_FLAGS and memalloc_noio_save/restore instead xiubli
2019-09-17 14:13 ` Jens Axboe [this message]
2019-09-17 22:54   ` [PATCH v3 0/2] blk-mq: Avoid memory reclaim when allocating Xiubo Li
2019-09-17 23:11     ` Jens Axboe
2019-09-17 23:19       ` Xiubo Li
2019-09-17 23:25         ` Jens Axboe
2019-09-17 23:30           ` Xiubo Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426aa779-1011-5a75-bb73-ae573c229806@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hch@infradead.org \
    --cc=josef@toxicpanda.com \
    --cc=linux-block@vger.kernel.org \
    --cc=mchristi@redhat.com \
    --cc=xiubli@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.