From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 19 Oct 2012 17:49:51 -0400 To: charles.forsyth@gmail.com, 9fans@9fans.net Message-ID: In-Reply-To: References: 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: c13fd116-ead7-11e9-9d60-3106f5b1d025 On Fri Oct 19 17:31:50 EDT 2012, charles.forsyth@gmail.com wrote: > I think it's better to specify memory that must have special cache > properties, rather than assuming that everything is. this depends on the ratio of memory that has special cache properties to the memory that doesn't. if you have devices like the kirkwood that can do dma, pci transfers, crcs, etc and it turns out that you can't predict ahead of time what memory you'd like to transfer, then, making a small concession in malloc might make sense. Block*s (well at least the buffer) needs to be special because the ethernet on the marvell is not cache coherent. - erik