PERFORCE change 180760 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Jul 11 15:20:45 UTC 2010
http://p4web.freebsd.org/@@180760?ac=10
Change 180760 by trasz at trasz_victim on 2010/07/11 15:20:04
Mark HRL mutex non-recurseable as well.
Affected files ...
.. //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#84 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_hrl.c#84 (text+ko) ====
@@ -124,7 +124,7 @@
static uma_zone_t hrl_rule_link_zone;
static uma_zone_t hrl_rule_zone;
static struct mtx hrl_lock;
-MTX_SYSINIT(hrl_lock, &hrl_lock, "HRL lock", MTX_RECURSE); /* XXX: Make it non-recurseable later. */
+MTX_SYSINIT(hrl_lock, &hrl_lock, "HRL lock", MTX_DEF);
static void hrl_compute_available(struct proc *p, int64_t (*availablep)[]);
static int hrl_rule_fully_specified(const struct hrl_rule *rule);
More information about the p4-projects
mailing list