Question regarding pci_alloc_consitent() and __get_free_pages

From: Steffen Persvold (sp@scali.no)
Date: Fri Jun 01 2001 - 11:59:01 EDT

  • Next message: Roland Kuhn: "[newbie] NFS broken in 2.4.4?"

    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,

    -- 
      Steffen Persvold               Systems Engineer
      Email : mailto:sp@scali.no     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
    -
    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/
    



    This archive was generated by hypermail 2b29 : Fri Jun 01 2001 - 12:07:46 EDT