Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763213AbXJRBO6 (ORCPT ); Wed, 17 Oct 2007 21:14:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759303AbXJRBOu (ORCPT ); Wed, 17 Oct 2007 21:14:50 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:52871 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754422AbXJRBOt (ORCPT ); Wed, 17 Oct 2007 21:14:49 -0400 Message-ID: <4716B37B.3050102@pobox.com> Date: Wed, 17 Oct 2007 21:14:35 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Linus Torvalds , FUJITA Tomonori , jens.axboe@oracle.com CC: mingo@elte.hu, linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk, tomof@acm.org Subject: Re: [bug] ata subsystem related crash with latest -git References: <20071017203140.GF15552@kernel.dk> <20071018080048O.fujita.tomonori@lab.ntt.co.jp> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.1.9 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 20 On a related hardware note: FWIW, most ATA controllers have scatter/gather tables that terminate themselves by a bit in the final s/g entry. The 90% case needs to know the last scatterlist entry, at the end of the s/g walk. So however this all gets worked out, please make sure not to unduly punish libata controllers with an expensive sg_last() inside a loop, or something like that. :) Jeff - 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/