From owner-freebsd-ppc@freebsd.org Wed May 11 16:09:11 2016 Return-Path: Delivered-To: freebsd-ppc@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 22CACB374C5; Wed, 11 May 2016 16:09:11 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (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 E0D781AB5; Wed, 11 May 2016 16:09:10 +0000 (UTC) (envelope-from jungleboogie0@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id d62so60373718iof.2; Wed, 11 May 2016 09:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=EyhF1qNqX4XOOOflX/xsAJxwXDoYMks/nVNDLtke7CU=; b=phN9A1/lCMqfPveBPj6i6ljyCB0WB19CuG3/hjD+XlJev3k7bm60nK7mlqqDgT0vjO W9aWZ/bUZbRJEF0JsyNI+O4ojqOiTRShLRiaNZVypak6p5zMJoKSoiYPBmCe3syQy3Av P7NscFVBGaulmgipupWN6no94E5jM9ELtPLxlN6vGwH8IsFzXsmZ37lIOKxb2N/SxXAD FmP4W6dsx+KmfkeU7nxWsypWyW2BN+ua+mkjdIW/9BFoL7oexnbOeKWD7GNuCOra9Q4z fE269fkFjN3r3Udx0XkDdFB0npTFT5Z3cN7NyEWFwDlbWb+MJoH8bvwZBdZWYWRw4PIM JLxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=EyhF1qNqX4XOOOflX/xsAJxwXDoYMks/nVNDLtke7CU=; b=SdBCZCrhnP2fbtqz587MQlF+GC7YnXjyfn6CWPvBJ/e9qL9r6ed7072to5e8msLcZX kLzCyyHNfRmhoK9mNZbTQhqc3Vbm79lFCxCgs/KI3fOdU3WjEA+lyXZfcF7qE6L9gTgP nVEtAwyBYMSS82K2Dnxzb9YRPjUaW00oFB+5W+HWTmDPrG80/HwVDD04bLdkhkmqxgvl tsCAeM7BB/DAmnfaR+xwU+blKRQnekE4YirAcdIvLNsQEIHI//mbPDhUQLyC0OelB0qi 6+gqrU1zGo4G9KmST43arETlV61G3J5Bmn/JS0OI9Os08CqfZm8cmRJ7oGPxYZZAco4V 5ffg== X-Gm-Message-State: AOPr4FVo2GEWkpu8cdP4liAQJv0kc6K0QaHP57wS4+S+1dw12VgKaCvPChGN4wjdQq6rpkIGKiJgH+6AWGQL3g== MIME-Version: 1.0 X-Received: by 10.107.47.37 with SMTP id j37mr3857181ioo.168.1462982950356; Wed, 11 May 2016 09:09:10 -0700 (PDT) Received: by 10.107.142.21 with HTTP; Wed, 11 May 2016 09:09:10 -0700 (PDT) In-Reply-To: <20160509223058.GA35132@lyxys.ka.sub.org> References: <572756DF.1010809@FreeBSD.org> <5727F71E.20101@FreeBSD.org> <20160503062031.GA2209@raichu> <20160509223058.GA35132@lyxys.ka.sub.org> Date: Wed, 11 May 2016 09:09:10 -0700 Message-ID: Subject: Re: wired memory leak at r298785 From: jungle Boogie To: Wolfgang Zenker Cc: Scott Long , Mark Johnston , Steve Wills , FreeBSD PowerPC ML , freebsd-current@freebsd.org, scottl@freebsd.org, Warner Losh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 16:09:11 -0000 On 9 May 2016 at 15:30, Wolfgang Zenker wrote: > * Scott Long [160503 16:27]: >>> On May 3, 2016, at 12:20 AM, Mark Johnston wrote: >>> [..] >>> This was causing problems on one of my amd64 systems, so it's not >>> specific to powerpc64. It turns out to be due to r298004: the CCB >>> allocated in cam_periph_devctl_notify() never gets freed. The patch >>> below seems to fix it. > >> Thanks Mark, that looks like the right fix. I=E2=80=99ll put it in toda= y. > > Thanks for committing the patch. I noticed that it has not been > MFCed to 10-STABLE yet. Is this due to problems with the patch or > did nobody get around to it yet? I am running the patch on a few > 10-STABLE machines (amd64 and i386) and didn't notice any problems > so far. > Same question two days later. :) I see our troubled cam_periph.c wasn't touched recently: https://svnweb.freebsd.org/base/stable/10/sys/cam/cam_periph.c?view=3Dlog&s= ortby=3Ddate&pathrev=3D299400 > Wolfgang --=20 ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si