public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: jiweisun126@126.com
Cc: linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org,
	kbusch@kernel.org, axboe@fb.com, hch@lst.de, sagi@grimberg.me,
	ahuang12@lenovo.com, sunjw10@lenovo.com
Subject: Re: [PATCH] nvme: add cond_resched() to nvme_complete_batch()
Date: Wed, 3 May 2023 18:07:52 +0200	[thread overview]
Message-ID: <20230503160752.GA683@lst.de> (raw)
In-Reply-To: <20230502125412.65633-1-jiweisun126@126.com>

On Tue, May 02, 2023 at 08:54:12PM +0800, jiweisun126@126.com wrote:
> From: Jiwei Sun <sunjw10@lenovo.com>
> 
> A soft lockup issue will be triggered when do fio test on a 448-core
> server, such as the following warning:

nvme_complete_batch can be called from irq context, so I don't think
a cond_resched is a good idea here.


  reply	other threads:[~2023-05-03 16:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02 12:54 [PATCH] nvme: add cond_resched() to nvme_complete_batch() jiweisun126
2023-05-03 16:07 ` Christoph Hellwig [this message]
2023-05-03 16:28 ` Keith Busch
2023-05-03 23:42   ` Keith Busch
2023-05-04  9:39     ` Niklas Cassel
2023-05-04 10:12       ` Niklas Cassel
2023-05-04 15:06         ` Keith Busch
2023-05-04 15:18           ` Niklas Cassel
2023-05-15 20:40 ` Keith Busch
2023-05-16 13:58   ` Jiwei Sun

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=20230503160752.GA683@lst.de \
    --to=hch@lst.de \
    --cc=ahuang12@lenovo.com \
    --cc=axboe@fb.com \
    --cc=jiweisun126@126.com \
    --cc=kbusch@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    --cc=sunjw10@lenovo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox