diff options
author | harti <harti@FreeBSD.org> | 2003-07-22 12:46:30 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-07-22 12:46:30 +0000 |
commit | ef0c913256e9dc1649f9a1717272d7ac66142e52 (patch) | |
tree | fe0192056d1d484956a504da31f19e63d36c82b2 /sys/netatm/uni/unisig_if.c | |
parent | 94d1a5de21a31c87cea17a35bf16a2e3665dfbf3 (diff) | |
download | FreeBSD-src-ef0c913256e9dc1649f9a1717272d7ac66142e52.zip FreeBSD-src-ef0c913256e9dc1649f9a1717272d7ac66142e52.tar.gz |
Remove the zone limits for all the zones used in the ATM code.
These were a left over from when the private memory pools were
converted to use uma zones. The limit of UMA zones, however,
works differently. When a zone is limited to only one or two pages
than, on multi-cpu systems, processes can get stuck on the zonelimit,
because all remaining free items are in caches of other CPUs.
Also add rudimentary error handling in some places (panic) when a zone
cannot be created.
Diffstat (limited to 'sys/netatm/uni/unisig_if.c')
-rw-r--r-- | sys/netatm/uni/unisig_if.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/netatm/uni/unisig_if.c b/sys/netatm/uni/unisig_if.c index 6005932b..9853b8a 100644 --- a/sys/netatm/uni/unisig_if.c +++ b/sys/netatm/uni/unisig_if.c @@ -169,10 +169,6 @@ unisig_start() if (unisig_ie_zone == NULL) panic("unisig_start: uma_zcreate failed to create ie zone"); - uma_zone_set_max(unisig_vc_zone, 50); - uma_zone_set_max(unisig_msg_zone, 50); - uma_zone_set_max(unisig_ie_zone, 50); - /* * Register ourselves with system */ |