Re: scatter/gather or kmalloc for allocating memory of size 50 Kbytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-05-31 at 19:19 +0530, Muneeswaran P - TLS, Chennai wrote:
> Hi,
> 
> Please let me know which memory allocation method will be more suitable for
> memory size 50 Kilobytes ?
> 
> ( scatter/gather or kmalloc method )?

that's too much for kmalloc really


> 
> This memory should be memory mapped to user application and will be used in
> PCI-Bus master data transfer.

you can't memory map kmalloc memory to userspace anyway



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux