lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 30 Jun 2008 14:52:15 -0600
From:	Jonathan Corbet <corbet@....net>
To:	"Pan, Weimin" <weimin.pan@...com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Why  get_user_pages fails?

On Mon, 30 Jun 2008 20:45:47 +0000
"Pan, Weimin" <weimin.pan@...com> wrote:

> Do I have a way to map a range of phy memory to user virtual address
> and have the page structures built for that memory region? I know
> remap_pfn_range() doesn't work.

The question is: why are you taking this memory out of the kernel's
view in the first place?  You're telling the kernel not to manage that
memory, and it's listening to you - but you shouldn't then complain that
it's not managing that memory.

Again, if you would post your code, others would be in a better
position to help you.

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ