Re: vmalloc() in interrupt context

Tigran Aivazian (tigran@veritas.com)
Tue, 27 Jun 2000 18:18:12 +0100 (BST)


On Tue, 27 Jun 2000, Alexander Viro wrote:
> > I can't allocate the memory at the device initialization because the driver
> > is a loadable module and is not compiled into the kernel.
>
> Oh, yes, you can - module_init() is your friend.

I think he meant reserving memory at boot time using

memory_start = my_init(memory_start, memory_end);

mechanism that used to be present in ancient Linux kernels.

So, how can a module reserve a large amount of physically contiguous
memory?

Regards,
Tigran

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