lkml.org 
[lkml]   [2002]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Looking for links: Why Linux Doesn't Page Kernel Memory?
Date

alan@lxorguk.ukuu.org.uk said:
> Memory is relatively cheap, and the complexity of such a paging
> kernel is huge (you have to pin down disk driver and I/O paths for
> example). Linux prefers to try to keep simple debuggable approaches to
> things.

You could do it. Start with kmalloc_pageable (probably actually
vmalloc_pageable) and introduce new sections for pageable data and text,
which can be marked just as init sections are currently. Introduce it
slowly, adding it a little at a time like we did SMP, and like we _should_
have done preemption.

It's debatable what kind of benefit it would give you over and above just
fixing specific cases like page tables, though. Most of the systems where
I've _really_ cared about RAM to that extent have been systems without any
local storage which could sanely be used for swap.

--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.134 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site