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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <200903131600.00463.frank.mehnert@sun.com>
Date:	Fri, 13 Mar 2009 16:00:00 +0100
From:	Frank Mehnert <Frank.Mehnert@....COM>
To:	linux-kernel@...r.kernel.org
Cc:	"Pallipadi, Venkatesh" <venkatesh.pallipadi@...el.com>,
	"peterz@...radead.org" <peterz@...radead.org>,
	"Siddha, Suresh B" <suresh.b.siddha@...el.com>
Subject: Re: remap_pfn_range() not suitable for physical RAM?

Venki,

thanks for your reply. May I ask anyway why this check is done in 
remap_pfn_range() and vm_insert_pfn() but not in vm_insert_page()?

Kind regards,

Frank

On Tuesday 10 March 2009, Pallipadi, Venkatesh wrote:
> Frank,
>
> Patch here should eliminate the restriction.
> http://marc.info/?l=linux-kernel&m=123664923030126&w=1
>
> Thanks,
> Venki
>
> >-----Original Message-----
> >From: linux-kernel-owner@...r.kernel.org
> >[mailto:linux-kernel-owner@...r.kernel.org] On Behalf Of Frank Mehnert
> >Sent: Tuesday, March 10, 2009 1:04 AM
> >To: linux-kernel@...r.kernel.org
> >Cc: peterz@...radead.org; Siddha, Suresh B
> >Subject: Re: remap_pfn_range() not suitable for physical RAM?
> >
> >Hi,
> >
> >sorry for re-posting this message and sorry for addressing you
> >directly.
> >Perhaps you can help me again or can you give me a pointer for a proper
> >documentation of the various *remap* and *vm_insert* functions:
> >
> >On Wednesday 04 March 2009, Frank Mehnert wrote:
> >> since 2.6.29-rcX it seems to be not allowed anymore to use
> >> remap_pfn_range() to remap physical RAM to userland. This restriction
> >> applies only if CONFIG_X86_PAT is enabled. It seems that
> >
> >vm_insert_page()
> >
> >> does not have this restriction. Am I correct? And what is the reason
> >> for this restriction?
> >
> >Kind regards,
> >
> >Frank
> >--
> >Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/
> >--
>
> 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/



-- 
Dr.-Ing. Frank Mehnert    Sun Microsystems    http://www.sun.com/

Download attachment "signature.asc " of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ