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] [day] [month] [year] [list]
Message-ID: <20080911093508.GD23082@sgi.com>
Date:	Thu, 11 Sep 2008 04:35:08 -0500
From:	Robin Holt <holt@....com>
To:	Alessio Sangalli <alesan@...oweb.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: 8MB physical memory allocation

On Wed, Sep 10, 2008 at 09:30:05PM -0700, Alessio Sangalli wrote:
> Hi, I'm writing a driver for a video adapter that needs to allocate 8MB
> (maximum resolution) in physical, contiguos memory. I am working on a
> ARM9 platform.

Not sure about arm9, but on ia64, alloc_pages does the trick.

	alloc_pages(GFP_KERNEL, 33-PAGE_SHIFT);

Might be slightly large of an allocation for any time other than boot,
but that is the call.

Thanks,
Robin
--
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