Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750968AbZLRAWc (ORCPT ); Thu, 17 Dec 2009 19:22:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751280AbZLRAWa (ORCPT ); Thu, 17 Dec 2009 19:22:30 -0500 Received: from sh.osrg.net ([192.16.179.4]:39834 "EHLO sh.osrg.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbZLRAW3 (ORCPT ); Thu, 17 Dec 2009 19:22:29 -0500 Date: Fri, 18 Dec 2009 09:21:30 +0900 To: tytso@mit.edu Cc: torvalds@linux-foundation.org, kyle@mcmartin.ca, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, James.Bottomley@suse.de, hch@infradead.org, linux-arch@vger.kernel.org, jens.axboe@oracle.com Subject: Re: [git patches] xfs and block fixes for virtually indexed arches From: FUJITA Tomonori In-Reply-To: <20091217173957.GG2123@thunk.org> References: <20091217163036.GE2123@thunk.org> <20091217173957.GG2123@thunk.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20091218091901J.fujita.tomonori@lab.ntt.co.jp> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sh.osrg.net [192.16.179.4]); Fri, 18 Dec 2009 09:21:32 +0900 (JST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1263 Lines: 21 On Thu, 17 Dec 2009 12:39:57 -0500 tytso@mit.edu 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-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/