Re: [PATCH 4 of 53] ipath - cap number of PDs that can be allocated

From: Bryan O'Sullivan
Date: Mon May 15 2006 - 17:06:34 EST


On Mon, 2006-05-15 at 08:45 -0700, Roland Dreier wrote:

> Would it make more sense to fix the stress test?

I don't think so. Without some kind of limits, it is simple for an
unprivileged user process to cause the kernel to allocate huge wads of
memory and thereby DoS or accidentally OOM the machine.

The test in question should probably be fixed, but this is a much more
fundamental problem. I don't have any specific opinions on what should
be done about it, other than "something".

<b

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