From: george anzinger <george@mvista.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Memory allocation question
Date: Wed, 21 Nov 2001 10:47:00 -0800 [thread overview]
Message-ID: <3BFBF6A4.6F1472C6@mvista.com> (raw)
In-Reply-To: <E165uQj-0007V2-00@the-village.bc.nu>
Alan Cox wrote:
>
> > size chuncks. Currently I am using kmalloc() to allocate a page at a
> > time. I don't want to have to worry about mapping/unmapping etc. I
>
> Use get_free_page() to get page sized chunks
What about __get_free_page() ? I don't need or want the clear page
(performance issues).
And then to return the page, free_page() ?
--
George george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/
next prev parent reply other threads:[~2001-11-21 18:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-19 19:23 george anzinger
2001-11-19 19:50 ` Alan Cox
2001-11-21 18:47 ` george anzinger [this message]
2001-11-21 18:51 ` Rik van Riel
2001-11-21 20:13 ` george anzinger
2001-11-21 20:25 ` Rik van Riel
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=3BFBF6A4.6F1472C6@mvista.com \
--to=george@mvista.com \
--cc=alan@lxorguk.ukuu.org.uk \
--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®