lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4717C172.1030104@garzik.org>
Date:	Thu, 18 Oct 2007 16:26:26 -0400
From:	Jeff Garzik <jeff@...zik.org>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
CC:	linux-ide@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [git patch] another libata fix

Jeff Garzik wrote:
> NOTE:  This is appended to the previous libata fixes, in a linear
> history.  If you pull this, and have not pulled yesterday's submission,
> you will get -both-.  If you pulled yesterday's fixes, you will only get
> the single changeset below.
> 
> Please pull from 'upstream-linus' branch of
> master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus
> 
> to receive the following updates:
> 
>  drivers/ata/pdc_adma.c   |    9 +-
>  drivers/ata/sata_mv.c    |   26 +-
>  drivers/ata/sata_sil24.c |   11 +-
>  drivers/scsi/ipr.c       |   11 +-
>  include/linux/libata.h   |   12 -
>  11 files changed, 1567 insertions(+), 90 deletions(-)
>  create mode 100644 drivers/ata/sata_fsl.c
> 
> 
> [libata] kill ata_sg_is_last()
> 
> Short term, this works around a bug introduced by early sg-chaining
> work.
> 
> Long term, removing this function eliminates a branch from a hot
> path loop in each scatter/gather table build.  Also, as this code
> demonstrates, we don't need to _track_ the end of the s/g list, as
> long as we mark it in some way.  And doing so programatically is nice.
> So its a useful cleanup, regardless of its short term effects.
> 
> Based conceptually on a quick patch by Jens Axboe.
> 
> Signed-off-by: Jeff Garzik <jgarzik@...hat.com>


And if it wasn't clear from the flurry of emails, this is independent 
from and parallel to Jens' current work.

So, it should not conflict, and it fixes several do-not-work-at-all 
drivers broken by sg-chaining.

	Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ