can you try to reproduce with 2.4.21rc8aa1? (you can apply my full patch
to 21 final too of course since rc8 is the same as final) The fix for
this that also fixes the performance problem with rawio from the same
file but multiple fd is already in tree since several months, we should
push it into mainline ASAP. The basic idea of the patch that moves the
bh allocation flood down to the slab to take advantage of a shared
shrinkable cache was developed at intel AFIK.
the single patch is this but I doubt it would apply cleanly as 90% of
the other patches:
http://www.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.21rc8aa1/9996_kiobuf-slab-1
so you can make a quick test with the full 2.4.21rc8aa1.gz applied.
as for the hang, that's because the vm in mainline probably isn't
capable of returning -ENOMEM from syscalls under a zone normal shortage
(previously it wouldn't touch the vm side because it used vmalloc that
returns -ENOMEM w/o entering the VM). With the vm in my tree you
shouldn't experience hangs even w/o the fix for the kiobuf bh flood
allocation patch applied.
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/