Greetings,
This is the second message of this kind that I received. Seems like
vmalloc() does weird things on machines with 1GB or more of physical RAM.
[I know this isn4t strictly USB related, but others may be affected as well;
besides, lkml is probably too busy]
I4m using vmalloc() for the image buffers since they can be larger than
128KB; plus, they may need to get mmap()ed. So I (abused) the rvmalloc()
code from bttv and other drivers, which uses vmalloc(). Vmalloc() itself
uses the __GFP_HIGHMEM flag, which (I assume) itself translates to
ZONE_HIGHMEM in linux/mmzone.h. In the .h file this is said:
* ZONE_HIGHMEM > 896 MB only page cache and user processes
It seems to me, that if a machine has more than 896 physical RAM, the HIGHMEM
zonememory area is shrunk accordingly. Am I right? And if so, how to allocate
enough memory properly? Maybe I missed a few things about linux memory
management recently, but this may appear more often when people start
installing more memory in their machines.
- Nemosoft
-----FW: <[EMAIL PROTECTED]>-----
Date: Thu, 06 Sep 2001 15:34:59 +0200
From: Thomas Lussnig <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Kenrel 2.4.9
Hi,
im using you module since lng time. Now upgrade to 1GB Memory.
Als long as i Limit the memory to 960MB all is working fine.
But at that Moment i stop this Limit and aktivate BIG_MEM 4GB
support in the Kernel the webcam isn't working fine. Evry second
Frame cam an pink one, equal wich FPS oder SIZE i use. This goes
trough all Tools incl camstream.
Any Idee ? Found nothing about that in the Faq.
cu thomas
--------------End of forwarded message-------------------------
-----------------------------------------------------------------------------
Try SorceryNet! One of the best IRC-networks around! irc.sorcery.net:9000
URL: never IRC: nemosoft IscaBBS (bbs.isca.uiowa.edu): Nemosoft
>> Never mind the daylight <<
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel