lkml.org 
[lkml]   [2003]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [BK-2.5] Update arm implementation of DMA API to include GFP_
Date
From
James.Bottomley@SteelEye.com said:
> Is this really safe? Maybe ARM needs to use GFP_ATOMIC all the time
> for a specific reason, such as where and how it maps the cpu side
> mappings of the memory?

According to Russell King, yes.

The PA-RISC one should also be correct. Actually, to be honest, there's a
longstanding issue in the pa-risc code where we can potentially allocate a
page table using GFP_KERNEL in pci_alloc_consistent() when we obtain the
mapping resources. I can argue that we never go down this path in practice,
but it does make GFP_ATOMIC allocations look unsafe on the platform.

James


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

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.033 / U:7.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site