From: "Marc A. Volovic" <marc@bard.org.il>
To: "Richard B. Johnson" <root@chaos.analogic.com>
Cc: "Marc A. Volovic" <marc@bard.org.il>,
Pannaga Bhushan <bhushan@multitech.co.in>,
linux-kernel@vger.kernel.org
Subject: Re: A hole in kernel space!
Date: Wed, 6 Nov 2002 18:09:34 +0200 [thread overview]
Message-ID: <20021106160934.GA25325@glamis.bard.org.il> (raw)
In-Reply-To: <Pine.LNX.3.95.1021106085810.3962A-100000@chaos.analogic.com>
Quoth Richard B. Johnson:
> You know, I hope, that you can kmalloc(GFP_KERNEL) something in
> init_module() and it will always be resident in the kernel until
> you kfree() it in cleanup_module(). You do not have to
> allocate/deallocate every time your module does something.
I do not alloc/dealloc every time ;-). I allocate at boot and do not
bother deallocating at all. The module just uses that allocated memory
and maps it into the filesystem namespace.
> Bush : The Fourth Reich of America
Errr, not that I care, but as far as I know, America had not yet had
even its first Reich. ;-)... Germany had three, so a forth Reich might
have been there...
--
---MAV
Linguists do it cunningly
Marc A. Volovic marc@bard.org.il
next prev parent reply other threads:[~2002-11-06 16:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-06 11:57 Pannaga Bhushan
2002-11-06 12:02 ` Abraham vd Merwe
2002-11-06 12:19 ` Matti Aarnio
2002-11-06 13:49 ` Marc A. Volovic
2002-11-06 14:07 ` Richard B. Johnson
2002-11-06 16:09 ` Marc A. Volovic [this message]
2002-11-06 21:07 ` Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021106160934.GA25325@glamis.bard.org.il \
--to=marc@bard.org.il \
--cc=bhushan@multitech.co.in \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®