* sysdep.c (MAX_RW_COUNT): New macro, to work around kernel bugs.