[issue1726] tmpfs "malloc limit exceeded" panic

Venkatesh Srinivas (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Fri Sep 10 06:13:26 PDT 2010


Venkatesh Srinivas <me at acm.jhu.edu> added the comment:

Hi,

I just committed 881dac8bcf7f6e26635fa38f071b93347ef92192, which I think solves 
the problem tuxillo hit. I'd love if people tried it out - last time I thought 
tmpfs was solved, it wasn't :D.

The fix allows the malloc zone for nodes to return NULL when its limit is 
exhausted or when we are unable to satisfy the malloc (I've seen that on some 
low-memory systems here); tmpfs_node_init would not survive a NULL node as well, 
which I just fixed.

-- vs

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1726>
_____________________________________________________






More information about the Bugs mailing list