Date: Wed, 8 Nov 2017 23:41:15 +0100 From: Emmanuel Vadot <manu@bidouilliste.com> To: Jeff Roberson <jeff@FreeBSD.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Jeff, On Wed, 8 Nov 2017 02:39:37 +0000 (UTC) Jeff Roberson <jeff@FreeBSD.org> 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 <manu@bidouilliste.com> <manu@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171108234115.421969741ee75d5bb3d905e5>