Linux-mm Archive on
 help / color / Atom feed
From: Christoph Hellwig <>
To: lijiazi <>
Cc: Christoph Hellwig <>,
	Marek Szyprowski <>,
	Robin Murphy <>,
	Andrew Morton <>,
	lijiazi <>,,
Subject: Re: [PATCH] dma-mapping: do not mapping module memory
Date: Mon, 2 Dec 2019 08:22:18 +0100
Message-ID: <> (raw)
In-Reply-To: <>

On Fri, Nov 29, 2019 at 07:03:40PM +0800, lijiazi wrote:
> On ARM, x86_64, sparc64 platform, virt_to_page only convert a
> _valid_ virtual address to struct page *, virt_addr_valid(x)
> indicates whether a virtual address is valid. If ptr is point
> to a static variable in module area, virt_to_page will return
> a invalid value.

While the path isn't wrong, why bother? 

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-29 11:03 lijiazi
2019-12-02  7:22 ` Christoph Hellwig [this message]

Reply instructions:

You may reply publically 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 \ \ \ \ \ \ \ \ \ \

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

Linux-mm Archive on

Archives are clonable:
	git clone --mirror linux-mm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mm linux-mm/ \
	public-inbox-index linux-mm

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone