From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: Richard Miller <9fans@hamnavoe.com> Date: Fri, 19 Oct 2012 15:00:01 +0100 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] sheevaplug SD card driver Topicbox-Message-UUID: c03a629a-ead7-11e9-9d60-3106f5b1d025 > could you explain the ccmalloc trick? "cache coherent malloc" - not really a trick, just a way to ensure SD buffers are cache-aligned and occupy an integral number of cache lines, to avoid embarrassment when doing dma on ARM (which bypasses the cache). It costs a bit of space but saves copying.