svn commit: r259149 - projects/altix2/sys/kern

Marcel Moolenaar marcel at FreeBSD.org
Mon Dec 9 23:59:17 UTC 2013


Author: marcel
Date: Mon Dec  9 23:59:16 2013
New Revision: 259149
URL: http://svnweb.freebsd.org/changeset/base/259149

Log:
  Call kmem_alloc_contig() with M_NOWAIT for now. This needs to come from
  the user of the busdma_mem_alloc() interface, but that needs a bit of
  review.

Modified:
  projects/altix2/sys/kern/subr_busdma.c

Modified: projects/altix2/sys/kern/subr_busdma.c
==============================================================================
--- projects/altix2/sys/kern/subr_busdma.c	Mon Dec  9 23:58:26 2013	(r259148)
+++ projects/altix2/sys/kern/subr_busdma.c	Mon Dec  9 23:59:16 2013	(r259149)
@@ -1026,6 +1026,7 @@ busdma_mem_alloc(struct busdma_tag *tag,
 
 	md->md_flags = mtag.dmt_flags;
 	mflags = (flags & BUSDMA_ALLOC_ZERO) ? M_ZERO : 0;
+	mflags |= M_NOWAIT;
 
 	idx = 0;
 	maxsz = tag->dt_maxsz;


More information about the svn-src-projects mailing list