Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2006 16:37:38 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 111021 for review
Message-ID:  <200612041637.kB4GbcQO058940@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111021

Change 111021 by millert@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++)



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