Re: [PATCH 01/04] Adding cipher mode context information tocrypto_tfm

From: Andrew Morton
Date: Mon Feb 14 2005 - 13:19:25 EST


Fruhwirth Clemens <clemens@xxxxxxxxxxxxx> wrote:
>
> First, one has to make kmap fallible.

I think it would be relatively simple and sane to modify the existing
kmap() implementations to add a new try_kmap() which is atomic and returns
failure if it would have needed to sleep.

That being said, kmap() is a sort of old and deprecated thing which scales
badly on SMP. We've put considerable work into moving over to
kmap_atomic() and using nice tight short code regions where atomic
kmappings are held.

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