diff options
author | David S. Miller <davem@davemloft.net> | 2011-08-05 02:38:27 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-15 18:31:41 -0700 |
commit | 9333a4681b17e19c4e6f6780ec209aff165fd968 (patch) | |
tree | 345c0684ee2597b1cb446c64d5ec3f72aa93ab4c /usr | |
parent | b548d908c7c625ae97679f1a8d86960fbe649e10 (diff) |
sparc: Size mondo queues more sanely.
[ Upstream commit 961f65fc41cdc1f9099a6075258816c0db98e390 ]
There is currently no upper limit on the mondo queue sizes we'll use,
which guarentees that we'll eventually his page allocation limits, and
thus allocation failures, due to MAX_ORDER.
Cap the sizes sanely, current limits are:
CPU MONDO 2 * max_possible_cpus
DEV MONDO 256 (basically NR_IRQS)
RES MONDO 128
NRES MONDO 4
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions