From: "David S. Miller" <davem@redhat.com>
To: Reto Baettig <baettig@scs.ch>
Cc: mingo@elte.hu, MM Linux <linux-mm@kvack.org>,
Kernel Linux <linux-kernel@vger.kernel.org>,
Martin Frey <frey@scs.ch>
Subject: Re: RFC: vmalloc improvements
Date: Mon, 26 Feb 2001 16:56:11 -0800 (PST) [thread overview]
Message-ID: <15002.64299.147336.376138@pizda.ninka.net> (raw)
In-Reply-To: <3A9AF9E7.D0924A4C@scs.ch>
Reto Baettig writes:
> The RPC server needs lots of 2MB receive buffers which are
> allocated using vmalloc because the NIC has its own pagetables.
Why not just allocate the page seperately and keep track of
where they are, since the NIC has all the page tabling facilities
on it's end, the cpu side is just a software issue. You can keep
an array of pages how ever large you need to keep track of that.
vmalloc() was never meant to be used on this level and doing
so is asking for trouble (it's also deadly expensive on SMP due
to the cross-cpu tlb invalidates using vmalloc() causes).
Later,
David S. Miller
davem@redhat.com
--
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/
next prev parent reply other threads:[~2001-02-27 0:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-24 0:26 Reto Baettig
2001-02-24 0:32 ` Ingo Molnar
2001-02-27 0:50 ` Reto Baettig
2001-02-27 0:56 ` David S. Miller [this message]
2001-02-24 1:09 ` Alan Cox
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=15002.64299.147336.376138@pizda.ninka.net \
--to=davem@redhat.com \
--cc=baettig@scs.ch \
--cc=frey@scs.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@elte.hu \
/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