From: Disconnect <lkml@sigkill.net>
To: linux-kernel@vger.kernel.org
Subject: Re: RFC: pageable kernel-segments
Date: Fri, 20 Apr 2001 09:41:00 -0400 [thread overview]
Message-ID: <20010420094100.B14161@sigkill.net> (raw)
In-Reply-To: <27525795B28BD311B28D00500481B7601F11D9@ftrs1.intranet.ftr.nl> <20010417120756.C11536@sigkill.net> <01041720013700.02396@idun>
In-Reply-To: <01041720013700.02396@idun>
On Tue, 17 Apr 2001, Oliver Neukum did have cause to say:
> > load/init/etc. Hardware setup tends to only happen once..)
>
> No they can't. Modules can't be finegrained enough to do this without wasting
> more memory due to fragmentation than you'd gain.
Actually, don't they do this -already-? I thought I saw somewhere on here
recently that there was a class of functions you could use in a module for
'one-off' activities. I suspect that covers 90% of what could be paged
out (the remainder being mostly the unloading process, for non-hotswap
modules). But IANAKG. (..not a kernel guru).
> Actually not that great.Support for different types of kernel code is there
> to support __init and __initdata. You'd use a fixup scheme like the one used
> in copy_[to|from]_user to trigger paging in. Page out could be handled by the
> conventional mm.
I mis-typed - by 'major rewrite' I meant more an analysis and tagging
process, which would have to touch most of the kernel before it was
useful. But again, IANAKG so the existing swap code may already handle
that, at least in a way that it could be a ruleset (with override tags?)
instead of having to put a new set of tags everywhere.
---
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1 [www.ebb.org/ungeek]
GIT/CC/CM/AT d--(-)@ s+:-- a-->? C++++$ ULBS*++++$ P+>+++ L++++>+++++
E--- W+++ N+@ o+>$ K? w--->+++++ O- M V-- PS+() PE Y+@ PGP++() t 5---
X-- R tv+@ b++++>$ DI++++ D++(+++) G++ e* h(-)* r++ y++
------END GEEK CODE BLOCK------
next prev parent reply other threads:[~2001-04-20 13:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-17 15:57 RFC: pageable kernel-segments Heusden, Folkert van
2001-04-17 16:07 ` Disconnect
[not found] ` <01041720013700.02396@idun>
2001-04-20 13:41 ` Disconnect [this message]
2001-04-17 19:21 ` H. Peter Anvin
2001-04-17 23:58 ` Albert D. Cahalan
2001-04-20 12:13 ` Stephen C. Tweedie
2001-04-20 14:23 ` Venkatesh Ramamurthy
2001-04-20 14:49 ` Alan Cox
2001-04-20 15:40 ` Venkatesh Ramamurthy
2001-04-20 18:51 ` Stephen C. Tweedie
2001-04-21 15:48 ` 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=20010420094100.B14161@sigkill.net \
--to=lkml@sigkill.net \
--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