From: David Mosberger <davidm@napali.hpl.hp.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@digeo.com>,
Ravikiran G Thirumalai <kiran@in.ibm.com>,
Dipankar Sarma <dipankar@in.ibm.com>,
linux-kernel@vger.kernel.org,
David Mosberger-Tang <davidm@hpl.hp.com>
Subject: Re: [PATCH] per-cpu support inside modules (minimal)
Date: Thu, 22 May 2003 11:39:32 -0700 [thread overview]
Message-ID: <16077.6500.502815.97688@napali.hpl.hp.com> (raw)
In-Reply-To: <20030522100511.751E02C0F1@lists.samba.org>
Rusty> OK, this does the *minimum* required to support
Rusty> DEFINE_PER_CPU inside modules. If we decide to change
Rusty> kmalloc_percpu later, great, we can turf this out.
Rusty> Basically, overallocates the amount of per-cpu data at boot
Rusty> to at least PERCPU_ENOUGH_ROOM if CONFIG_MODULES=y
Rusty> (arch-specific by default 16k: I have only 5700 bytes of
Rusty> percpu data in my kernel here, so makes sense), and a special
Rusty> allocator in module.c dishes it out.
Rusty> Comments welcome!
Looks good to me. For ia64, I guess I'll want to add a
#define PERCPU_ENOUGH_ROOM PERCPU_PAGE_SIZE
somewhere, but that doesn't sound so hard. ;-)
Thanks!
--david
prev parent reply other threads:[~2003-05-22 18:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-22 10:04 Rusty Russell
2003-05-22 10:15 ` Andrew Morton
2003-05-22 23:51 ` Rusty Russell
2003-05-22 18:39 ` David Mosberger [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=16077.6500.502815.97688@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=akpm@digeo.com \
--cc=davidm@hpl.hp.com \
--cc=dipankar@in.ibm.com \
--cc=kiran@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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®