From owner-freebsd-acpi@FreeBSD.ORG Fri Oct 22 16:05:39 2010 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 130F4106566C for ; Fri, 22 Oct 2010 16:05:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 9771C8FC08 for ; Fri, 22 Oct 2010 16:05:38 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=5UXFHLfkiY5XrCDma5uYm2T9fyMGz6t0cyN4hLfZsqg= c=1 sm=1 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=mAzfewIA-RLd-FPLHG4A:9 a=VybSBEQt3m7id7orEirHwrfBkS0A:4 a=QEXdDO2ut3YA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 38291407; Fri, 22 Oct 2010 18:05:36 +0200 From: Hans Petter Selasky To: Lin Ming Date: Fri, 22 Oct 2010 18:06:48 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <201010121209.06397.hselasky@c2i.net> <1287715164.6530.3112.camel@minggr.sh.intel.com> <1287724787.6530.3135.camel@minggr.sh.intel.com> In-Reply-To: <1287724787.6530.3135.camel@minggr.sh.intel.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201010221806.48632.hselasky@c2i.net> Cc: "freebsd-acpi@freebsd.org" , "Moore, Robert" Subject: Re: MacBookPro 5,1 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2010 16:05:39 -0000 On Friday 22 October 2010 07:19:47 Lin Ming wrote: > diff --git a/source/components/resources/rsxface.c > b/source/components/resources/rsxface.c index 2a019d1..17b88e2 100644 > --- a/source/components/resources/rsxface.c > +++ b/source/components/resources/rsxface.c > @@ -394,6 +394,7 @@ AcpiSetCurrentResources ( > { > ACPI_STATUS Status; > ACPI_NAMESPACE_NODE *Node; > + ACPI_RESOURCE *Res; > > > ACPI_FUNCTION_TRACE (AcpiSetCurrentResources); > @@ -416,6 +417,15 @@ AcpiSetCurrentResources ( > return_ACPI_STATUS (Status); > } > > + Res = (ACPI_RESOURCE *) InBuffer->Pointer; > + if (Res->Type == ACPI_RESOURCE_TYPE_EXTENDED_IRQ) > + { > + /* DEBUG: clear the string to see if it's the root cause */ > + > + Res->Data.ExtendedIrq.ResourceSource.StringPtr = NULL; > + Res->Data.ExtendedIrq.ResourceSource.StringLength = 0; > + } > + > Status = AcpiRsSetSrsMethodData (Node, InBuffer); > return_ACPI_STATUS (Status); > } Hi, After applying this patch I can confirm there are no more dirty free's. --HPS