I expect that caching userspace and not pagecache would be
a reasonable choice.
> But it'll need hints from the higher level code. e.g. read and write
> could turn on write combining for bigger writes (let's say >8K)
> I discovered that just unconditionally turning it on for all copies
> is not good because it forces data out of cache. But I still have hope
> that it helps for selected copies.
Well if it's a really big read then bypassing the CPU cache on
the userspace-side buffer would make sense.
Can you control the cachability of the memory reads as well?
What restrictions are there on these instructions? Would
they force us to bear the cost of the aligment problem?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/