From: Sebastian Andrzej Siewior Date: Thu, 18 Jun 2009 08:19:12 +0000 (+0200) Subject: lib/scatterlist: add a flags to signalize mapping direction X-Git-Tag: v2.6.31-rc5~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6de7e356faf54aa75de5b624bbce28a5b776dfa8;p=pandora-kernel.git lib/scatterlist: add a flags to signalize mapping direction sg_miter_start() is currently unaware of the direction of the copy process (to or from the scatter list). It is important to know the direction because the page has to be flushed in case the data written is seen on a different mapping in user land on cache incoherent architectures. Signed-off-by: Sebastian Andrzej Siewior Acked-by: FUJITA Tomonori Acked-by: Tejun Heo Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed