From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from roman (localhost [127.0.0.1]) by michael.checkpoint.com (8.9.3/8.9.1) with SMTP id LAA11849 for ; Mon, 24 Jul 2000 11:15:16 +0300 (IDT) Message-ID: <00df01bff54f$280d1230$398d96d4@checkpoint.com> From: "Roman Mitnitski" Subject: Allocating large chunks of mem from net-bh Date: Mon, 24 Jul 2000 11:11:26 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00DC_01BFF55F.E8860A20" Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org List-ID: This is a multi-part message in MIME format. ------=_NextPart_000_00DC_01BFF55F.E8860A20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi. I need to allocate (dynamically, as the need arises) large memory areas from the bottom-half context (net-bh, to be exact) in Linux 2.2.x.=20 kmalloc does not let me allocate as much memory as I need, and vmalloc refuses to work in bottom-half context.=20 I don't need anything special from the allocated memory, (like physical = continuity, or DMA area). I even don't care much how long it takes to allocate, sice it really does not happen that much often. Is there any reasonable workaround that would let me solve this problem? Is the situation in 2.4 any better (because my code will have to move on = to 2.4 eventually) Roman ------=_NextPart_000_00DC_01BFF55F.E8860A20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
 
 Hi.
 
I need to allocate (dynamically, as the = need=20 arises) large memory areas
from the bottom-half context (net-bh, = to be exact)=20 in Linux 2.2.x.
 
kmalloc does not let me allocate = as much=20 memory as I need, and
vmalloc refuses to work = in bottom-half=20 context.
 
I don't need anything special from the allocated memory, (like physical=20 continuity,
or DMA area). I even=20 don't care much how long
it takes to allocate, sice it really = does not=20 happen that much often.
 
Is there any reasonable workaround that = would let=20 me solve this problem?
Is the situation in 2.4 any better = (because my code=20 will have to move on to 2.4
eventually)
 
 Roman
 
------=_NextPart_000_00DC_01BFF55F.E8860A20-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/