From owner-svn-src-head@freebsd.org Thu May 21 17:09:58 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1E5B72DE27D; Thu, 21 May 2020 17:09:58 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Sbhj6gmsz427v; Thu, 21 May 2020 17:09:57 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qt1-x843.google.com with SMTP id d7so6026206qtn.11; Thu, 21 May 2020 10:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Fwxi6IE7uLYMM1zNlo5EvguEHNEJZW/CwZjvuXN+gzM=; b=sH5Jlncpz/JXLkSdcg4AAcWb7+DaVbWacRaaFbKpLwDQpcn4GG7dM0SzixXYCpmKju HWFTo8QhVF7ami/7YvAyRRcQUYMGS/JtemTl5ejJlxbBsi/kXuYouzdF/naDME0+LdLu NjEWJMeNhVljkyh5hDUhfzt6acBauSkBnJznAL5DCRbX1RjIJ7BaAydr/wcf/1FqtMrf tFrzxhvzIjekfcYg7qQZHTkl73tu60PtCVAtNrqOuN5V7ZSQ8M4VALP2YH34p9qs6NJS yB4CsZD+PFiT9SPYoj2KaP+tyX9Upnk9MUhU9AcKhUD/FiXn1eESqVwzadJ7btkE3n4k x/oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=Fwxi6IE7uLYMM1zNlo5EvguEHNEJZW/CwZjvuXN+gzM=; b=WOHjh2n+/gIVDicCS6q7b7V2JJXsNl65rpHA+CNGjbMJG7a89jU63dGaDpXhr8KO4I Rkx3NzJE8C2h4wWfgZAHsCxUO1OLbaenaqWnsJSO7knWGqyredDzdX37QT5AReOR3fPa 7aIPy81vIPiclWFo78/KeALKcp99rVbXeAmkwPGu2tUQHU1IxbJn+071A+ZRyN+/d/lC FVQVl0iNiAdBeORcBsAk8ApA48TNzpZbSOqr5KCL5sgZhxM1760blk4EhGgXxsCEVo0T Sd3KnEWPFh2BmIK3hJec9ZhwdYDtpmH1SXK72NYBuv4wO8ojY5gVbsYegWM5TZULjPuK einw== X-Gm-Message-State: AOAM530rSToZ9vEqIjladFTLH+XTejfwtBuHP2t2mPp7ZSiTF+uucAQl mT+KbvJwuyPuHS+f8kS4lWcFFvse X-Google-Smtp-Source: ABdhPJzSpUtiAVgDkY/P+Z8aIdNl8DEvO3VlvCZGae+V0OXBoN4EOpkf1NH/PWDeQCQ/2KHRQB5fqQ== X-Received: by 2002:ac8:1194:: with SMTP id d20mr12209863qtj.359.1590080996468; Thu, 21 May 2020 10:09:56 -0700 (PDT) Received: from raichu (toroon0560w-lp130-15-184-144-87-103.dsl.bell.ca. [184.144.87.103]) by smtp.gmail.com with ESMTPSA id v1sm2114833qkb.19.2020.05.21.10.09.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 10:09:55 -0700 (PDT) Sender: Mark Johnston Date: Thu, 21 May 2020 13:09:53 -0400 From: Mark Johnston To: Brandon Bergren Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r361336 - head/sys/powerpc/aim Message-ID: <20200521170953.GF85681@raichu> References: <202005211553.04LFrH3m086488@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202005211553.04LFrH3m086488@repo.freebsd.org> X-Rspamd-Queue-Id: 49Sbhj6gmsz427v X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 21 May 2020 17:09:58 -0000 On Thu, May 21, 2020 at 03:53:17PM +0000, Brandon Bergren wrote: > Author: bdragon > Date: Thu May 21 15:53:16 2020 > New Revision: 361336 > URL: https://svnweb.freebsd.org/changeset/base/361336 > > Log: > [PowerPC] Fix kernel boot on powerpc > > Recent changes have caused the vmspace objects to start coming from KVA > instead of direct-mapped memory on powerpc. As far as I can tell, this is > not actually a problem, so we should stop arbitrarily asserting that it is. > > I do not know why this was not being triggered before. UMA was recently changed in r357549 to use multi-page slabs if doing so would reduce internal fragmentation to a certain degree. In that case the slabs will be mapped into KVA. vmspace objects are quite large but smaller than a page, so they benefit from this. You can verify by checking the vm.uma.VMSPACE.keg.ppera sysctl, which gives the number of pages per slab.