[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Allocation of kernel memory >128K
Hello everyone,
I hope u can clear this doubt.This question is a
continuation of the question below which i had posted on this site
On Tue, 11 Dec 2001, Amit S. Jain wrote:
> I have been working on a module in which I copy large amount of data fromn
> the user to the kernel area.To do so I allocate using either kmaaloc or
> vmalloc or get_free_pages()large amount of memory(in the range of
> MBytes) in the kernel space.However this attempt is not successful.One ofmy
> colleagues informed me that in the kernel space it is safe not to allocate
> large amount of memory at one time,should be kept upto 30K...is he
> right....could you throw more light on this issue.
I WANT TO KNOW WHAT AMOUNT OF MEMORY ALLOCATION WILL BE SAFE.i.e. even
if i alloc 30K at a time,will I always get a contiguous memory for that
purpose.??
Is there a set limit in Linux for the amount of memory we obtain
will always be contiguous or always available??
Thanking you,
Amit Jain
--
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/