From owner-freebsd-current@freebsd.org Sat Aug 29 17:49:47 2015 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 2B1BC9C55E1 for ; Sat, 29 Aug 2015 17:49:47 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (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 B4D2BD99 for ; Sat, 29 Aug 2015 17:49:46 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by wibay6 with SMTP id ay6so2132011wib.0 for ; Sat, 29 Aug 2015 10:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=NRPETzWCKH0cDGeEOjxh5wT5Vnt/grWWU5gH9VLDECc=; b=lJ4zQZeLIX4h2SrnZdqnfkOE6WeE0T7bR82AtHlcqRrcxJPLyRm6EtNKyJeZQT4wSL rC4QoTNSqHTswMYPP22wBVLJLVyJZ42iMl6tpiC1wuRVS8e1QYa6CKXQYaW4LbGbMaqr w1C84UtgFB1gau+cH4l4a3yYod4zqiuB73HalqeKPj3tGhTIgYHrbHrz//Eaktj2NdzZ nUA3cLsOAaLe8ZT1ODzxqCx72BhYN2Q/G2a8mMt4Jm9tgsFplQDntG4Man/A4vD3YU59 QufSVo0b/wwGbXT8EW0bolvzx1BUnhr61hEI0lHhZeGVOXMFza5DC3NZvFPJ/29/U2GP RBIA== X-Received: by 10.194.216.195 with SMTP id os3mr3344456wjc.52.1440870584360; Sat, 29 Aug 2015 10:49:44 -0700 (PDT) Received: from brick.home (aegu84.neoplus.adsl.tpnet.pl. [79.186.176.84]) by smtp.gmail.com with ESMTPSA id nb10sm9506367wic.11.2015.08.29.10.49.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Aug 2015 10:49:42 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Sat, 29 Aug 2015 19:49:40 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Larry Rosenman Cc: freebsd-current@freebsd.org Subject: Re: racct crash/Linux Emulation Message-ID: <20150829174940.GA34779@brick.home> Mail-Followup-To: Larry Rosenman , freebsd-current@freebsd.org References: <20150824012857.GA6409@borg.lerctr.org> <20150824083700.GA1253@brick.home> <20150824160756.GB2911@brick.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 29 Aug 2015 17:49:47 -0000 On 0828T1207, Larry Rosenman wrote: > On 2015-08-24 11:07, Edward Tomasz Napierała wrote: > > On 0824T0731, Larry Rosenman wrote: > >> On 2015-08-24 03:37, Edward Tomasz Napierała wrote: > >> > On 0823T2028, Larry Rosenman wrote: > >> >> got the below panio, on a linux (world community grid) process exit. > >> >> > >> >> > >> >> borg.lerctr.org dumped core - see /var/crash/vmcore.5 > >> >> > >> >> Sun Aug 23 20:14:24 CDT 2015 > >> >> > >> >> FreeBSD borg.lerctr.org 11.0-CURRENT FreeBSD 11.0-CURRENT #46 r287028: > >> >> Sat Aug 22 18:34:59 CDT 2015 > >> >> root@borg.lerctr.org:/usr/obj/usr/src/sys/VT-LER amd64 > >> >> > >> >> panic: racct_sub: freeing 1 of resource 11, which is more than > >> >> allocated 0 for wcgrid_fahv_vina_pr (pid 1140) > >> > > >> > Could you try the patch below? > >> > > >> [removed] > >> > >> Yes, that seems to fix it. THANKS! > > > > Thanks. It's pending review at https://reviews.freebsd.org/D3470. > What's it going to take to get this committed? > > Seems(!) simple enough...... I'd prefer someone who knows this code to take a look and confirm it's indeed the right way to fix it. Don't worry, I won't forget about it :-)