All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ira Weiny <ira.weiny@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: Thomas Gleixner <tglx@linutronix.de>, linux-kernel@vger.kernel.org
Subject: Re: kmap_local semantics
Date: Fri, 12 Mar 2021 07:36:46 -0800	[thread overview]
Message-ID: <20210312153646.GE3014244@iweiny-DESK2.sc.intel.com> (raw)
In-Reply-To: <20210312065413.GA29805@lst.de>

On Fri, Mar 12, 2021 at 07:54:13AM +0100, Christoph Hellwig wrote:
> So with the new kmap_local interface is it possible / advisable to
> use local kmaps over code that might schedule(), e.g. to wait for I/O?

It is possible yes.  "Advisable" I think so.  Thomas knows better than I what
performance would be.

FWIW I have been working on converting kmaps to kmap_local.  Most of the
instances don't schedule AFAICT.

What I really don't want to see is any kmap'ings handed to another thread.  I
am working hard to eliminate the use of kmap for that use.  Is that going to be
a problem?

Ira

  reply	other threads:[~2021-03-12 15:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-12  6:54 kmap_local semantics Christoph Hellwig
2021-03-12 15:36 ` Ira Weiny [this message]
2021-03-17 13:59   ` Thomas Gleixner
2021-03-18  2:44     ` Ira Weiny
2021-03-18  4:36       ` Christoph Hellwig

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=20210312153646.GE3014244@iweiny-DESK2.sc.intel.com \
    --to=ira.weiny@intel.com \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /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.