linux-mips
[Top] [All Lists]

some question about memory usage in mips

To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: some question about memory usage in mips
From: loody <miloody@gmail.com>
Date: Fri, 12 Mar 2010 01:02:13 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=VmK3+9byw9jVNm3Bj3AiujA26wQCYtrD69OovXsovbo=; b=jn7F8Fp8McIjq+en3nWi0tEYJi88vimI9qx6sOzhoFRXWRMY01VVofZ8TcGThADLWn EdVZ6hkBSsT+iC37FImce5MhMKrJZW78EuZkXfXcTsYyMhudiMmQR1IlTyGZN5yfzuTU GLTGX+erKQc2/iyFneV0zT7kugfvHL1pWgQ48=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ugXT09E8Jz6571robkYEnEkjSBn74FQg9AGfDEAyd6qezK3jGL/BBle4E6lyRwfTsG BHmpPn8EpG8kRQ4NqJcWILytNeq75FQg98HDjp525yOYPjRiddBK0ai0vHKbrLtK/+6X 2UvHYURiafptXH3m3f8KUA4/FBCpxVFgmkTR8=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Dear all:
I test usb driver under mips machine and I have some questions always bother me.
1. what is the difference between dma_pool_create and
dma_alloc_coherent and where they are defined? from the result it
return, dma_pool_create will return non-cache area, but
dma_alloc_coherent returns catched area.
why they get the dma in it? Does that have special meaning?

2. what are wmb() and rmb(). used for?
do they use to flush cache? and what these 3 leterr mean?
wmb, write memory back
rmb, read memory back
appreciate your help,
miloody

<Prev in Thread] Current Thread [Next in Thread>
  • some question about memory usage in mips, loody <=