From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larry Finger Date: Thu, 03 Mar 2011 09:52:40 -0600 Subject: Switching to 4.174.64.19 firmware for G-PHY cards? In-Reply-To: References: <4CFE538A.10808@lwfinger.net> <4CFE8934.4060803@hauke-m.de> Message-ID: <4D6FB948.2000902@lwfinger.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: b43-dev@lists.infradead.org On 03/03/2011 01:55 AM, Rafa? Mi?ecki wrote: > 824 line is: > [struct b43_dmaring *]ring = kzalloc(sizeof(*ring), GFP_KERNEL); > > Does anyone know why sometime we allocate 60b and sometimes 96b? It's > always the same struct... :| Could be STA vs. AP related but... how? I > don't see a way. It depends on whether CONFIG_B43_DEBUG is defined. As you hint at later, Chris's memory problem is not due to a direct allocation problem, but is due to indirect allocation of skb or some other type of buffer. Why they leak on his system, and not on mine is a puzzle. Larry