Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261708AbVBIAKC (ORCPT ); Tue, 8 Feb 2005 19:10:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261709AbVBIAKB (ORCPT ); Tue, 8 Feb 2005 19:10:01 -0500 Received: from mx1.redhat.com ([66.187.233.31]:62910 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S261708AbVBIAJ4 (ORCPT ); Tue, 8 Feb 2005 19:09:56 -0500 Date: Tue, 8 Feb 2005 19:09:44 -0500 (EST) From: James Morris X-X-Sender: jmorris@thoron.boston.redhat.com To: Fruhwirth Clemens cc: Andrew Morton , , , "David S. Miller" , "Adam J. Richter" Subject: Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm In-Reply-To: <1107906836.15942.131.camel@ghanima> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 25 On Wed, 9 Feb 2005, Fruhwirth Clemens wrote: > > You can't call kmap() in softirq context (why was it even trying?): > > Why not? What's the alternative, then? It can sleep in map_new_virtual(). The alternative is to use atomic kmaps. For this code, unless you can point to something concrete in the existing kernel which would benefit from passing an arbitrary number of scatterlists in, just code for the case of processing two at once (input & output). - James -- James Morris - 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/