Allocating kernel memory
From: George Nelson (grn_at_freeuk.com)
Date: 05/06/04
- Previous message: mark: ""Headless" Linux & agetty Issues"
- Next in thread: Kasper Dupont: "Re: Allocating kernel memory"
- Reply: Kasper Dupont: "Re: Allocating kernel memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 May 2004 10:41:34 -0700
Other than the amount of free memory available, is there a limit to
how much memory a driver can allocate (in total, not as a single
request)? I am working on a driver that requires large amounts of
memory and although I have 2GB on my system, the total memory my
driver seems to be able to allocate is around 620MB. Most of the 2GB
are free when my driver loads (from a sysinfo call), I am running very
little in user space and very light load on the file system so I can't
understand why my memory requests fail at the 620MB limit.
I would appreciate any pointers as to how I can get more memory. The
driver uses a number of slab caches from which it makes allocations
although the largest requests are for I/O buffers where I allocate
using get_free_pages.
Many thanks in advance,
George Nelson
- Previous message: mark: ""Headless" Linux & agetty Issues"
- Next in thread: Kasper Dupont: "Re: Allocating kernel memory"
- Reply: Kasper Dupont: "Re: Allocating kernel memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|