The difference between gm_dma_malloc and mmap

Gyu Sang Choi <[email protected]> Thu, 15 Jul 2004 22:12:01 -0400
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
Hi,

I have one question about gm_dma_malloc (or gm_register_memory) and mmap.
As I know, the maximum memory available for registration (i.e.  dma) is 
503 MBytes.
I got this value from kernel message, when I load Mryinet GM driver.

However, NIC memory in my Myrinet NIC is 8 Mbytes.
So, I can mmap upto 8Mbytes theoretically for memory mapping.

I am wondering the difference between gm_dma_malloc and mmap in Myrinet NIC.

Best,
--Gyu Sang

-- 

 ---------------------------------------------------------------
| Name   : Gyu Sang Choi					|
| Office : 358 IST Building                                     |
| Office Phone : (814)865-2729        	                        |	
| email  : [email protected]					|
| Home Phone : (814)861-6986				       	|
| Cell Phone : (814)880-3814                                    |
| Address : 425 Waupelani Drive #327, State College, PA 16801	|
 ---------------------------------------------------------------