[PATCHv2 1/2] ARM: dma-mapping: add support for CMA regions placed in highmem zone

Michal Nazarewicz mina86 at mina86.com
Mon Feb 4 09:42:26 EST 2013


> On Mon, Feb 04, 2013 at 03:24:51PM +0100, Michal Nazarewicz wrote:
>> Perhaps it should use lowmem_page_address() then?

On Mon, Feb 04 2013, Russell King - ARM Linux wrote:
> It's well defined that page_address() will be non-NULL for lowmem pages.
> There is nothing wrong with the above.

It would save on a branch and a function call though.

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +----<email/xmpp: mpn at google.com>--------------ooO--(_)--Ooo--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130204/4533538f/attachment-0001.sig>


More information about the linux-arm-kernel mailing list