Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 2010 15:20:44 GMT
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 180760 for review
Message-ID:  <201007111520.o6BFKi1O055762@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@180760?ac=10

Change 180760 by trasz@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007111520.o6BFKi1O055762>