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/