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

From: David S. Miller
Date: Mon Feb 14 2005 - 12:11:39 EST


On Mon, 14 Feb 2005 18:06:39 +0100
Fruhwirth Clemens <clemens@xxxxxxxxxxxxx> wrote:

> There is nothing wrong with having special methods, that lack generality
> but are superior in performance. There is something wrong, when there
> are no other. And there are no other for holding three kmappings or more
> concurrently.

You want more resources in a context where no such thing exists,
in interrupt processing context. There the stack is limited, allocatable
memory is limited, etc. etc. etc. And all of this is because you cannot
sleep in interrupt context.

Resources are fixed in this environment exactly becuase one cannot
sleep or wait on events. It's supposed to be fast processing, deferring
more involved work to process context.
-
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/