using kmalloc
Hi,
I am getting some problems with kmalloc. If I tried to allocate more than certain memory then the system is hanging while booting with the changed kernel. Can you suggest me how to come out this situation. Can't I allocate as much I want when I want to allocate in the kernel.
Thank you,
Chiranjeevi
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
Em Tue, Mar 19, 2002 at 08:18:31AM -0800, chiranjeevi vaka escreveu:
Quoted 4 lines
I am getting some problems with kmalloc. If I tried to allocate more than certain memory then the system is hanging while booting with the changed kernel. Can you suggest me how to come out this situation. Can't I allocate as much I want when I want to allocate in the kernel.
try vmalloc, kmalloc is limited, AFAIK, to 128 KiB and even that is difficult to get after some time.
- Arnaldo
Quoted 9 lines · Arnaldo Carvalho de Melo
Em Tue, Mar 19, 2002 at 08:18:31AM -0800, chiranjeevi vaka escreveu:
Quoted 4 lines
I am getting some problems with kmalloc. If I tried to allocate more than certain memory then the system is hanging while booting with the changed kernel. Can you suggest me how to come out this situation. Can't I allocate as much I want when I want to allocate in the kernel.
try vmalloc, kmalloc is limited, AFAIK, to 128 KiB and even that is difficult to get after some time.
Apparently, kmalloc semantics changed at some point so it does not ever return error.
Signature · 4 lines
--------------------------------------------------------- Victor Yodaiken Finite State Machine Labs: The RTLinux Company. www.fsmlabs.com www.rtlinux.com