The patch titled dm-crypt: add cond_resched() to crypt_convert() has been removed from the -mm tree. Its filename was dm-crypt-add-cond_resched-to-crypt_convert.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: dm-crypt: add cond_resched() to crypt_convert() From: Milan Broz <mbroz@xxxxxxxxxx> Add cond_resched() to prevent monopolising CPU when processing large bios. dm-crypt processes encryption of bios in sector units. If the bio request is big it can spend a long time in the encryption call. (akpm: needed in 2.6.26 and, given that it fixes soft-lockup warnings, needed in -stable too) Signed-off-by: Milan Broz <mbroz@xxxxxxxxxx> Signed-off-by: Alasdair G Kergon <agk@xxxxxxxxxx> Tested-by: Yan Li <elliot.li.tech@xxxxxxxxx> Cc: <stable@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/md/dm-crypt.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/md/dm-crypt.c~dm-crypt-add-cond_resched-to-crypt_convert drivers/md/dm-crypt.c --- a/drivers/md/dm-crypt.c~dm-crypt-add-cond_resched-to-crypt_convert +++ a/drivers/md/dm-crypt.c @@ -432,6 +432,7 @@ static int crypt_convert(struct crypt_co case 0: atomic_dec(&ctx->pending); ctx->sector++; + cond_resched(); continue; /* error */ _ Patches currently in -mm which might be from mbroz@xxxxxxxxxx are origin.patch linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html