On Thu, 17 Dec 2009 12:39:57 -0500 tytso@xxxxxxx wrote: > On Thu, Dec 17, 2009 at 08:46:33AM -0800, Linus Torvalds wrote: > > kmalloc() memory should be ok. It's backed by "real pages". Doing the DMA > > translations for such pages is trivial and fundamental. > > Sure, but there's some rumors/oral traditions going around that some > block devices want bio address which are page aligned, because they > want to play some kind of refcounting game, and if you pass them a > kmalloc() memory, they will explode in some interesting and > entertaining way. And it's Weird Shit(tm) (aka iSCSI, AoE) type > drivers, that most of us don't have access to, so just because it > works Just Fine on SATA doesn't mean anything. iSCSI initiator driver should work with kmalloc'ed memory. The reason why iSCSI didn't work with kmalloc'ed memory is that it uses sendpage (which needs refcountable pages). We added a workaround to not use sendpage with kmalloc'ed memory (it would be great if we remove the workaround though). -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html