At 05:33 PM 6/7/99 +0100, Alan Cox wrote:
>> So a lot of effort, for something that should be simply implemented
>> in linux.
>
>So write a library that wraps it as you want it. Or just go and look on
>freshmeat for a couple that exist. 

i am describing a bug in linux and you write now i must fix it?

>> When my parallel program crashes (and that happens a lot as
>> parallellism is hard to debug), then the 150 mb hashtable where i test
>> with, remains allocated.
>
>You can attach an shm object and then delete it. It goes away on the last
>user death

it doesn't.

>> You hear me correct it becomes ROOT, although i don't even have a root
>> password (better not give me, i might install NT).
>> 
>> Now if i restart my program, then linux CRASHES. Shared memory
>> can't be swapped. So if i allocate at a 256 mb machine 2 times 150mb,
>> then it crashes directly. The first 150mb is the root 150mb. 
>
>Shared memory can be swapped. If linux is crashing then you've found a bug
>whether it gets swapped or not. 

quite easy bug to reproduce at your system. I've given all the
code needed.

>Alan
>
>
>
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to