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

Re: allocate pageable memory in kernel driver



On Sun, Aug 11, 2002 at 01:29:03PM -0500, Jason You wrote:
> I am writing a device driver in which I need to allocate large amount
> of memory (say the size of the physical memory).

You should have a userland program allocate the memory you will need and
pass it as a buffer to be filled by your implementation of read() or
mmap()ed IO.

The kernel doesn't do swappable memory. Sorry. :)

-- 
Too bad life doesn't have a :q! command.

PGP signature