Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2005 17:37:13 GMT
From:      Todd Miller <millert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 85658 for review
Message-ID:  <200510211737.j9LHbDFJ023974@repoman.freebsd.org>

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

Change 85658 by millert@millert_ibook on 2005/10/21 17:36:53

	With the recent sebsd_malloc changes defining GFP_ATOMIC as
	M_NOWAIT now works as it should.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/linux-compat.h#7 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin7/src/sedarwin/sedarwin/linux-compat.h#7 (text+ko) ====

@@ -136,8 +136,7 @@
 #define kmalloc(size, flags)		sebsd_malloc(size, flags)
 #define kfree(v)			sebsd_free(v)
 #define __get_free_page(flags)		sebsd_malloc(PAGE_SIZE, flags) 
-/* XXX - GFP_ATOMIC should be M_NOWAIT but zone alloc chokes in avc init */
-#define GFP_ATOMIC  M_WAITOK
+#define GFP_ATOMIC  M_NOWAIT
 #define GFP_KERNEL  M_WAITOK
 
 #ifdef __APPLE__



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