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

Re: Allocation of kernel memory >128K




Thank u everyone for the response to my question bout allocatin huge
amount of memeory in kernel space....
For a few people who wanted to know why I m allocating such a huge memory
and do i really need contiguous memory...here it is

---- Basically what my module is doing is trying to make the communication
between kernel to kernel in a Linux Cluster transparent tp TCP/IP.
So to transmit the data I copy the data from the user area to the kernel
area and then to the n/w buffers.So what I was trying to do is transfer
the entire data from user to kernel space at one go(allocating huge memory
at kernel)....since this is not possible I can always divide the data into
30K packets and then copy it to the kernel space...

P.S I am new to the Linux Kernel ...hence please excuse ne naive comments
in the above ..


Amit 


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/