All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: Jan Kara <jack@suse.cz>,
	mm-commits@vger.kernel.org, Matthew Wilcox <willy@infradead.org>
Subject: Re: + mm-provide-filemap_range_needs_writeback-helper.patch added to -mm tree
Date: Wed, 24 Mar 2021 15:19:02 -0700	[thread overview]
Message-ID: <20210324151902.171d2a295bebc4e511c7e679@linux-foundation.org> (raw)
In-Reply-To: <a0d094d9-cf6b-8e27-d7f2-a6f86977bfa1@kernel.dk>

On Wed, 24 Mar 2021 16:13:48 -0600 Jens Axboe <axboe@kernel.dk> wrote:

> On 3/24/21 4:02 PM, Andrew Morton wrote:
> > On Wed, 24 Mar 2021 13:48:08 -0600 Jens Axboe <axboe@kernel.dk> wrote:
> > 
> >> On Tue, Mar 2, 2021 at 4:43 PM <akpm@linux-foundation.org> wrote:
> >>>
> >>>
> >>> The patch titled
> >>>      Subject: mm: provide filemap_range_needs_writeback() helper
> >>> has been added to the -mm tree.  Its filename is
> >>>      mm-provide-filemap_range_needs_writeback-helper.patch
> >>
> >> Are you still planning on flushing this out for 5.12??
> > 
> > Oh.  No, I wasn't planning on that.  I saw nothing which made me think
> > it was that urgent.
> 
> Ehm ok, I think that was the plan though when we originally talked about
> this series. At least that was what was in my original emails on this
> topic :-)
> 
> > What is the justification?  How much performance benefit are we talking
> > here?
> 
> Well it's pretty huge, since if we return "nope can't do this
> non-blocking" it'll mean that io_uring has to bump the operation to an
> async threads. So CPU cost goes way up, and latencies does too.
> 
> Problem is, we're now at -rc4, and it was my understanding that we'd get
> this in for 5.12, but obviously way sooner than this. But I kind of lost
> track when it went into your tree, until I started thinking about it
> earlier today. While it's not the end of the world to wait for 5.13,
> though the current situation does suck a lot for certain workloads.

I'd be OK with sending it to Linus now, but we really should put some
numbers behind "suck a lot" to justify it.  And a -stable backport
might be justified if the benefit is large enough, and if "certain
workloads" are common enough.

But with what have here, I and everyone else who considers these
patches is going in blind!

  reply	other threads:[~2021-03-24 22:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-02 23:43 + mm-provide-filemap_range_needs_writeback-helper.patch added to -mm tree akpm
2021-03-24 19:48 ` Jens Axboe
2021-03-24 22:02   ` Andrew Morton
2021-03-24 22:13     ` Jens Axboe
2021-03-24 22:19       ` Andrew Morton [this message]
2021-03-24 22:25         ` Jens Axboe
2021-03-25  0:54           ` Andrew Morton

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=20210324151902.171d2a295bebc4e511c7e679@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=willy@infradead.org \
    /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.