tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: modules: per-segment policy



On Wed, Jun 08, 2016 at 05:57:47AM +0800, Paul Goyette wrote:
> All of this sounds like a good idea.  however, there are at least one or 
> two PRs out there related to limits on the amount of address space that 
> modules can occupy, on i386.  It would seem to me that taking each 
> module and mapping it in multipple page-sized pieces would end up taking 
> more total space (due to page-rounding) and possibly exacerbate the 
> current situation.

How about creating a vmmap for module_text and another for module_data,
 guessing the size split (upfront, statically) from statisitics in
/stand/modules ?

Martin


Home | Main Index | Thread Index | Old Index