PERFORCE change 85658 for review
Todd Miller
millert at FreeBSD.org
Fri Oct 21 10:37:14 PDT 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__
More information about the p4-projects
mailing list