From: Russell King <rmk@arm.linux.org.uk>
To: Frank Cornelis <fcorneli@elis.rug.ac.be>
Cc: Linux Kernel Mailing list <linux-kernel@vger.kernel.org>
Subject: Re: misc_cache_init
Date: Tue, 4 Dec 2001 11:04:35 +0000 [thread overview]
Message-ID: <20011204110435.C18147@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.33.0112031324470.19914-100000@trappist.elis.rug.ac.be>
In-Reply-To: <Pine.LNX.4.33.0112031324470.19914-100000@trappist.elis.rug.ac.be>; from fcorneli@elis.rug.ac.be on Mon, Dec 03, 2001 at 01:36:04PM +0100
On Mon, Dec 03, 2001 at 01:36:04PM +0100, Frank Cornelis wrote:
> I looked at some past kernel mailings and it seems like some archs need
> specific caches and others don't. In order to provide these
> functionalities I suggest to add somewhere to init/main.c
> misc_cache_init();
> and provide an initial
> #define misc_cache_init() do {} while (0)
> for every architecture.
> Anyone agrees on this?
We already have this under a slightly different name (Alan didn't merge it
into Linus' kernel though from what I remember): pgtable_cache_init.
This was used in -ac to initialise the ARM PTE slab, as well as the x86
PAE slabs immediately after the call to kmem_cache_sizes_init.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2001-12-04 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-03 12:36 misc_cache_init Frank Cornelis
2001-12-04 11:04 ` Russell King [this message]
2001-12-04 12:20 ` misc_cache_init Alan Cox
2001-12-06 14:51 ` misc_cache_init Frank Cornelis
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=20011204110435.C18147@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=fcorneli@elis.rug.ac.be \
--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