Return-path: Received: from mx1.redhat.com ([66.187.233.31]:54992 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081AbYFLRKn (ORCPT ); Thu, 12 Jun 2008 13:10:43 -0400 Date: Thu, 12 Jun 2008 13:10:34 -0400 From: Rik van Riel To: "Tomas Winkler" Cc: "Johannes Berg" , "Zdenek Kabelac" , "Linux Kernel Mailing List" , yi.zhu@intel.com, reinette.chatre@intel.com, linux-wireless@vger.kernel.org Subject: Re: Problem: Out of memory after 2days with 2GB RAM Message-ID: <20080612131034.4d8f6301@cuia.bos.redhat.com> (sfid-20080612_191046_924974_14E461C4) In-Reply-To: <1ba2fa240806120843s268b2ff4mb45a11adf11afc7f@mail.gmail.com> References: <20080612093833.0fb9cdd6@bree.surriel.com> <1213278884.3936.15.camel@johannes.berg> <1ba2fa240806120843s268b2ff4mb45a11adf11afc7f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, 12 Jun 2008 18:43:37 +0300 "Tomas Winkler" wrote: > This is scatter gather buffers that can be kicked in one DMA transaction. > This I still don't understand why but everybody is already tired to > explaining me why.. :) Just need to find time to dig into it. The only thing that makes no sense to me is why your driver "needs" to allocate 10x as much memory in that buffer than it will ever use. What is the problem with the simpler solution, which just reduces the size of the buffer to an amount of memory that might actually get used? -- All Rights Reversed