From owner-svn-src-head@freebsd.org Wed Nov 8 22:41:25 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5803FE5D821; Wed, 8 Nov 2017 22:41:25 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5738B6A2CF; Wed, 8 Nov 2017 22:41:23 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id f7ec2f01; Wed, 8 Nov 2017 23:41:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=mAPEbtRg20IonoN1t+FRmAbKOmI=; b=C28LAOqBP8g9xQdOpA0ZVe8W/N7m FQ+74pRtjL1Fu99+F2Jz/yrXpoqcKt7jCVX3xL0iktEBSVlE45RTp6rKgDvyQPvv MLus7WV3q53zNeghS9d0XVt0ctbyD/C9kOcTgsgTwwRw3G2Zjmn63SEsXo2MLETk Xi2Io2NjOS5AUug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=mvnufEUwXu3OCrj4mKrwGMEK/gttN1h0335Wq8/i2uHYtvDK9sIWeqLd FBMp/jxd39/P37VW/HCJFngljyDLWRYtXrkndDHvQM0G2pd3EUw1zv+2y7E1jICC Vz2uLL1faSp/xApFG1ep4T5hziNUuIlFPqxct4ClynzeB7g168Y= Received: from knuckles.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 5e03aaed TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 8 Nov 2017 23:41:16 +0100 (CET) Date: Wed, 8 Nov 2017 23:41:15 +0100 From: Emmanuel Vadot To: Jeff Roberson Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r325530 - in head/sys: amd64/amd64 arm64/arm64 fs/tmpfs kern mips/mips powerpc/aim powerpc/powerpc sparc64/sparc64 vm x86/iommu Message-Id: <20171108234115.421969741ee75d5bb3d905e5@bidouilliste.com> In-Reply-To: <201711080239.vA82dbJ6009161@repo.freebsd.org> References: <201711080239.vA82dbJ6009161@repo.freebsd.org> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 22:41:25 -0000 Hello Jeff, On Wed, 8 Nov 2017 02:39:37 +0000 (UTC) Jeff Roberson wrote: > Author: jeff > Date: Wed Nov 8 02:39:37 2017 > New Revision: 325530 > URL: https://svnweb.freebsd.org/changeset/base/325530 > > Log: > Replace manyinstances of VM_WAIT with blocking page allocation flags > similar to the kernel memory allocator. > > This simplifies NUMA allocation because the domain will be known at wait > time and races between failure and sleeping are eliminated. This also > reduces boilerplate code and simplifies callers. > > A wait primitive is supplied for uma zones for similar reasons. This > eliminates some non-specific VM_WAIT calls in favor of more explicit > sleeps that may be satisfied without new pages. > > Reviewed by: alc, kib, markj > Tested by: pho > Sponsored by: Netflix, Dell/EMC Isilon > This break armv7 (atleast) kernel : KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2017 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #51 3c355d849c9(HEAD): Wed Nov 8 23:24:16 CET 2017 elbarto@knuckles.blih.net:/usr/home/elbarto/Work/freebsd/obj/usr/home/elbarto/Work/freebsd/freebsd.git/arm.armv7/sys/GENERIC arm FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn) WARNING: WITNESS option enabled, expect reduced performance. panic: inconsistent object(0)/req(8) cpuid = 0 time = 1 KDB: stack backtrace: (null)() at 0xc055f24c pc = 0xc055f24c lr = 0xc005ed40 (0xc005ed40) sp = 0xc0c13908 fp = 0xc0c13a20 (null)() at 0xc005ed40 pc = 0xc005ed40 lr = 0xc0269d58 (0xc0269d58) sp = 0xc0c13a28 fp = 0xc0c13a48 r4 = 0x00000100 r5 = 0x00000001 r6 = 0xc06e17cd r7 = 0xc092f530 (null)() at 0xc0269d58 pc = 0xc0269d58 lr = 0xc0269c00 (0xc0269c00) sp = 0xc0c13a50 fp = 0xc0c13a64 r4 = 0xc06e17cd r5 = 0xc0c13a6c r6 = 0x00000000 r7 = 0x00000008 r8 = 0xc0c13b0b r9 = 0x00000000 r10 = 0x00000008 (null)() at 0xc0269c00 pc = 0xc0269c00 lr = 0xc0544768 (0xc0544768) sp = 0xc0c13a6c fp = 0xc0c13aa8 r4 = 0xc0c13a64 r5 = 0xc0269c00 r6 = 0xc0c13a6c r7 = 0x00000000 r8 = 0x00000000 r9 = 0x00000000 r10 = 0x00000008 ... Thanks, -- Emmanuel Vadot