From owner-freebsd-current@freebsd.org Wed Sep 13 15:47:05 2017 Return-Path: Delivered-To: freebsd-current@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 0B458E01F57 for ; Wed, 13 Sep 2017 15:47:05 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B5C436A880; Wed, 13 Sep 2017 15:47:04 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk0-x235.google.com with SMTP id j5so1568564qkd.0; Wed, 13 Sep 2017 08:47:04 -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:user-agent; bh=UPw5MT5GdFEwdAkPusv2Bx9Zq9o2P8DjmxNjjS2KkGI=; b=WK4hWd7IkqZZjfxV6tloCHaTqzT9KjHiT7Bt/LypxbpsZZ79NVI6PnUdlj8q31hQ96 5uZUvTel1JtU8nJ3+ZXoTCUwZKrGYJXDVR/sQBybl82d35vB6d9IV5vCTQSeGJ0ogSu1 D152sp2AIbcOdkUeIBtBptqxmcbDLNdPfkSODhgBOWsU5pHejRz8aN0AYiAsYOjFh04m ecYjiAZPDMarZNi9ffDT2tRXwQlCfMXDlGKeYmJTXPxS62kePxxJSn2S6df372uqNQW/ 0o/XsUDKUTJWnb4/CtwG6K+NRAhTZvGtYoEsCGUhMUcwGrs7xt2nz2jNLq+MOwdLfE4t mbNg== 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:user-agent; bh=UPw5MT5GdFEwdAkPusv2Bx9Zq9o2P8DjmxNjjS2KkGI=; b=OM4OcK7ozH74IL1l8bdw/BwC6KbsNXWIlmm/TGKMKghovy76FXTWUFvEyrg8DVq8+u EKU45z+jMpAEdkhJftK11tLSpWTbi5PeK7smQ6bN09wJGsQRNhyu3IgZd95YTraiZ/0Q LplBa8HOd9XFJ0FBW11bhRmMBZ03w3FCR7+p8d1BTqY7hNSuwxrnTfe6BGPJwmpoQ0U3 gS3wzlmySKS0TlXvWt0hREtq7S2Uc3IdA48ULo7fn7I0wF/pUQGFlEL78VzJKawmgacD 1S0oMrtgg/SFEVZNe9COEc3jsmInvsyqjmymh6EMat8HCABWuCSZXCwU41ItekOSDTDy dAgw== X-Gm-Message-State: AHPjjUhfi0lp4wRPQeBAef2RlGn25I+S+LWE8gURZ3qloggNXKUgUkGk H6Rme/ueaXhea6vR X-Google-Smtp-Source: AOwi7QCWHicJYhLlFOQLpVRlN7aooLaALj7ItnptRnsFEwWesRH99dvXqjcqs3XifuAhjvINPcGFcQ== X-Received: by 10.55.43.65 with SMTP id r62mr26115034qkh.250.1505317623412; Wed, 13 Sep 2017 08:47:03 -0700 (PDT) Received: from wkstn-mjohnston.west.isilon.com (c-76-104-203-143.hsd1.wa.comcast.net. [76.104.203.143]) by smtp.gmail.com with ESMTPSA id 13sm10249712qtp.74.2017.09.13.08.47.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Sep 2017 08:47:01 -0700 (PDT) Sender: Mark Johnston Date: Wed, 13 Sep 2017 08:47:13 -0700 From: Mark Johnston To: Raphael Kubo da Costa Cc: "Andrey V. Elsukov" , freebsd-current@FreeBSD.org Subject: Re: r323412: Panic on boot (slab->us_keg == keg) Message-ID: <20170913154713.GA95686@wkstn-mjohnston.west.isilon.com> References: <86vakp1vsq.fsf@orwell> <8ccad12b-3d31-6478-7884-c003bc314990@yandex.ru> <20170912033523.GA89424@wkstn-mjohnston.west.isilon.com> <86ingo1fk7.fsf@orwell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86ingo1fk7.fsf@orwell> User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2017 15:47:05 -0000 On Tue, Sep 12, 2017 at 10:34:00AM +0200, Raphael Kubo da Costa wrote: > Mark Johnston writes: > > > I think the bug is that keg_large_init() doesn't take > > sizeof(struct uma_slab) into account when setting uk_ppera for the keg. > > In particular, the bug isn't specific to the bootup process; it only > > affects internal zones with an item size in the range [4016, 4096]. > > > > The patch below should fix this - could you give it a try? > > I've tried it and can confirm it fixed the panic here. Thanks, committed as r323544.