Re: Potential fix for fdtable badness.

From: Linas Vepstas
Date: Wed Oct 11 2006 - 16:13:38 EST


On Tue, Oct 10, 2006 at 07:08:18PM -0700, Vadim Lobanov wrote:
>
> Dave, Olof, Linas, Bryce,
>
> Could you please test the patch at the bottom of the email to see if it makes
> your computers happy again, if you have the time and inclination to do so?
>
> +++ new/fs/file.c 2006-10-10 19:01:03.000000000 -0700
> - nr++;
> nr /= (PAGE_SIZE / 4 / sizeof(struct file *));
> - nr = roundup_pow_of_two(nr);
> + nr = roundup_pow_of_two(nr + 1);

This fixed things for me!

--linas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/