commit | 961f65fc41cdc1f9099a6075258816c0db98e390 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Fri Aug 05 02:38:27 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 05 02:38:27 2011 -0700 |
tree | 867a00c32303c8aeaaef35ae9b49d93b7cacf8e9 | |
parent | 9076d0e7e02b98f7a65df10d1956326c8d8ba61a [diff] |
sparc: Size mondo queues more sanely. 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>