Re: [Patch] Convert max_user_watches to long.

From: Andrew Morton
Date: Wed Oct 27 2010 - 19:45:49 EST


On Wed, 27 Oct 2010 14:09:15 -0500
Robin Holt <holt@xxxxxxx> wrote:

> On a 16TB machine, max_user_watches has an integer overflow. Convert it
> to use a long and handle the associated fallout.
>

hand-wavy reality check:

Are the existing defaults sane? How well does the code perform with a
few billion watches?

Is the expected use case one-watch-per-user-per-fd? If so, then
perhaps the max number of user_watches should have some realtionship
with the max number of fds?

--
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/