Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750964AbWAOXDQ (ORCPT ); Sun, 15 Jan 2006 18:03:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750966AbWAOXDQ (ORCPT ); Sun, 15 Jan 2006 18:03:16 -0500 Received: from pne-smtpout1-sn1.fre.skanova.net ([81.228.11.98]:52206 "EHLO pne-smtpout1-sn1.fre.skanova.net") by vger.kernel.org with ESMTP id S1750964AbWAOXDP (ORCPT ); Sun, 15 Jan 2006 18:03:15 -0500 To: Phillip Susi Cc: linux kernel , axboe@suse.de Subject: Re: [PATCH] pktcdvd & udf bugfixes References: <43C5D71B.1060002@cfl.rr.com> <43C94464.4040500@cfl.rr.com> <43C982C0.1070605@cfl.rr.com> <43CA89A4.3010000@cfl.rr.com> <43CACC34.504@cfl.rr.com> From: Peter Osterlund Date: 16 Jan 2006 00:03:10 +0100 In-Reply-To: <43CACC34.504@cfl.rr.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 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: 1158 Lines: 23 Phillip Susi writes: > >>Ahh, excellent. Also, is the memory currently non pagable? Is there > >>a reason for that? > > > >Yes the memory is non pagable. The linux kernel doesn't support > >pagable kernel memory, only user space memory can be swapped out. > > Surely the kernel can allocate pagable memory if it chooses to? No, not unless you make large changes in the VM subsystem. But there is another issue here as well. Even if the kernel could allocate pagable memory, it would be non-trivial to use it in a block device driver. A block driver can be asked by the kernel to write out memory to disc *because* there is memory pressure in the system. If the block driver needs to make additional memory allocations before it can write data (for example, to page in swapped out memory), the system could deadlock. -- Peter Osterlund - petero2@telia.com http://web.telia.com/~u89404340 - 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/