From: Ralf Baechle <ralf@uni-koblenz.de>
To: Michael Bellion <bellion@gmx.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Finding out whether memory was allocated with kmalloc or vmalloc
Date: Tue, 27 Aug 2002 02:15:54 +0200 [thread overview]
Message-ID: <20020827021553.A20963@bacchus.dhis.org> (raw)
In-Reply-To: <200208270406.16597.bellion@gmx.de>; from bellion@gmx.de on Tue, Aug 27, 2002 at 04:06:16AM +0200
On Tue, Aug 27, 2002 at 04:06:16AM +0200, Michael Bellion wrote:
> given a pointer p, is there an easy and platform independent way to find out,
> whether the memory location that p points to was allocated with kmalloc or
> vmalloc?
Vmalloc'ed memory has a virtual address VMALLOC_START <= x < VMALLOC_END.
Ralf
prev parent reply other threads:[~2002-08-27 0:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-27 2:06 Michael Bellion
2002-08-27 0:15 ` Ralf Baechle [this message]
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=20020827021553.A20963@bacchus.dhis.org \
--to=ralf@uni-koblenz.de \
--cc=bellion@gmx.de \
--cc=linux-kernel@vger.kernel.org \
/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®