Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Nov 2018 20:00:11 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r340510 - stable/12/sys/kern
Message-ID:  <201811172000.wAHK0BoX046999@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Nov 17 20:00:10 2018
New Revision: 340510
URL: https://svnweb.freebsd.org/changeset/base/340510

Log:
  MFC r339728:
  Remove a redundant check.

Modified:
  stable/12/sys/kern/subr_vmem.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/kern/subr_vmem.c
==============================================================================
--- stable/12/sys/kern/subr_vmem.c	Sat Nov 17 19:58:34 2018	(r340509)
+++ stable/12/sys/kern/subr_vmem.c	Sat Nov 17 20:00:10 2018	(r340510)
@@ -283,7 +283,7 @@ bt_fill(vmem_t *vm, int flags)
 			VMEM_UNLOCK(vm);
 			bt = uma_zalloc(vmem_bt_zone, flags);
 			VMEM_LOCK(vm);
-			if (bt == NULL && (flags & M_NOWAIT) != 0)
+			if (bt == NULL)
 				break;
 		}
 		LIST_INSERT_HEAD(&vm->vm_freetags, bt, bt_freelist);



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