summaryrefslogtreecommitdiff
path: root/sys/lib/python/tokenize.py
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-05-19 20:59:55 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-05-19 20:59:55 +0200
commitf97798e710929c0acb2b110c1cc16b1b267039a0 (patch)
tree602a14310907efbc00098afbb0dd891ea3f410e9 /sys/lib/python/tokenize.py
parent318cd6fbde65ee5c7a4bd513d185fa57cc61c4cd (diff)
devsd: don't raise Enomem error if sdmalloc() fails, instead wait for the memory to become available
filesystems do not handle i/o errors well (cwfs will abandon the blocks), and temporary exhaustion of kernel memory (because of too many i/o's in parallel) causes read and write on the partition to fail. i think it is better to wait for the memory to become available in this case. the single allocation is at max SDmaxio bytes, which makes it likely to become available. if we havnt even enought fo that, then rebooting the machine would be the best option. (aux/reboot)
Diffstat (limited to 'sys/lib/python/tokenize.py')
0 files changed, 0 insertions, 0 deletions