[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimze4agnNRM_HVnQ1=B44pWy_D+OmeUYFvCSwMy@mail.gmail.com>
Date: Mon, 20 Dec 2010 20:05:51 -0700
From: AJ ONeal <coolaj86@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Memory Leak in /dev/shm on ARM 2.6.36
In my other message about SIGBUS I was mmap-ing a file in /dev/shm.
I switched my implementation to use write() instead of mmap and now it
leaks memory very very quickly.
`df -h` shows that 80mb of memory are in use
`du -ch /dev/shm` shows that 10mb of memory in use
After just a few minutes of creating and removing 512kb files in
/dev/shm the program exits with a write failure.
Unmounting and remounting /dev/shm reclaims the memory.
Again, if there is a better place to discuss this kind of bug, please
point me to it.
AJ ONeal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists