PERFORCE change 111021 for review

Todd Miller millert at FreeBSD.org
Mon Dec 4 08:46:11 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=111021

Change 111021 by millert at millert_g5tower on 2006/12/04 16:37:00

	It is OK to for malloc to sleep during sidtab initialization.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/sidtab.c#2 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin8/policies/sedarwin/sedarwin/ss/sidtab.c#2 (text+ko) ====

@@ -37,7 +37,7 @@
 {
 	int i;
 
-	s->htable = kmalloc(sizeof(*(s->htable)) * SIDTAB_SIZE, GFP_ATOMIC);
+	s->htable = kmalloc(sizeof(*(s->htable)) * SIDTAB_SIZE, GFP_KERNEL);
 	if (!s->htable)
 		return ENOMEM;
 	for (i = 0; i < SIDTAB_SIZE; i++)


More information about the trustedbsd-cvs mailing list