From: David S. Miller Date: Tue, 31 May 2005 23:57:59 +0000 (-0700) Subject: [SPARC64]: Fix streaming buffer flushing on PCI and SBUS. X-Git-Tag: v2.6.12-rc6~34^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c963ad1d113790a8c723a178988b675868f3abe;p=pandora-kernel.git [SPARC64]: Fix streaming buffer flushing on PCI and SBUS. Firstly, if the direction is TODEVICE, then dirty data in the streaming cache is impossible so we can elide the flush-flag synchronization in that case. Next, the context allocator is broken. It is highly likely that contexts get used multiple times for different dma mappings, which confuses the strbuf flushing code and makes it run inefficiently. Signed-off-by: David S. Miller --- Reading git-diff-tree failed