LKML Archive on
help / color / mirror / Atom feed
From: Souptick Joarder <>
To: Thierry Reding <>
	Matthew Wilcox <>
Subject: Re: [PATCH] gpu: drm: tegra: Adding new typedef vm_fault_t
Date: Wed, 18 Apr 2018 16:39:22 +0530	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20180418082439.GA4646@ulmo>

> This new function returns VM_FAULT_NOPAGE only for 0 and -EBUSY, whereas
> we used to return VM_FAULT_NOPAGE for -EAGAIN, -ERESTARTSYS and -EINTR
> as well.

Previously vm_insert_page unable to return VM_FAULT_ type due to which
different drivers
have their own mapping from err to VM_FAULT_ type. With new
vmf_insert_page() introduce
in 4.17-rc1 we have a common mapping for err to VM_FAULT_ which remain
same for every
drivers/file systems.

Was this previously wrong?

I think Matthew is the right person to answer this.

  reply	other threads:[~2018-04-18 11:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-17 13:47 Souptick Joarder
2018-04-18  8:24 ` Thierry Reding
2018-04-18 11:09   ` Souptick Joarder [this message]
2018-04-23 10:54   ` Matthew Wilcox
2018-05-11 18:20     ` Souptick Joarder
2018-05-14 12:59 ` Thierry Reding

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:

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

  git send-email \
    --in-reply-to='' \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] gpu: drm: tegra: Adding new typedef vm_fault_t' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).