Skip to contentSkip to conversation

Question regarding pci_alloc_consitent() and __get_free_pages

DISCUSSION Steffen Persvold 1 participant 1 message Jun 1, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

I have a question regarding the pci_alloc_consistent() function. Will this function allocate pages that are physical contiguous ? i.e if I call this function with a size argument of 32KByte will that be 8 consecutive pages in memory on i386 architecture (4 pages on alpha). In general, will __get_free_pages(GFP_ATOMIC, order) always return physical contiguous memory ?

All feedback appreciated,

Signature · 4 lines
  Steffen Persvold               Systems Engineer
  Email : mailto:[email protected]     Scali AS (http://www.scali.com)
  Tlf   : (+47) 22 62 89 50      Olaf Helsets vei 6
  Fax   : (+47) 22 62 89 51      N-0621 Oslo, Norway