PERFORCE change 85658 for review

Todd Miller millert at FreeBSD.org
Fri Oct 21 17:37:13 GMT 2005


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

Change 85658 by millert at 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__
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list