lkml.org 
[lkml]   [2000]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: reg memory allocated by kmalloc
Date
From
> I would like to know.. is memory allocated by kmalloc always double word
> aligned????.. and is this suitable for dma only if i use GFP_DMA priority...
> i mean dma for a pci device... or can i just specify GFP_KERNEL and use
> it.... is it safe to proceed in this way???

The alignment should be fine yes. GFP_DMA is for ISA bus 24bit DMA,
GFP_KERNEL is 32bit so if your PCI card has true 32bit DMA it will do. 2.4
has the pci_alloc_* interface

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

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