Re: [RFC] [patch 0/18] remap_file_pages protection support (forUML), try 3

From: Hugh Dickins
Date: Fri Aug 26 2005 - 14:09:45 EST


On Fri, 26 Aug 2005, Blaisorblade wrote:

> This is a followup to my post of last week (Aug 12) about remap_file_pages
> protection support. I've improved and consolidated the patches and updated
> them against 2.6.13-rc6/rc7 (the same patches apply against both versions).
> I'm sending the full patch series only to akpm, mingo and LKML.
>
> I've also reduced them to only 18, and made the splitting more significant.
> I'm not resending all the patches for foreign architectures, because they're
> almost unchanged since last time (there's just a trivial reject from ppc32,
> because one change has already been done after -rc4).
>
> I'm working on this to provide support for UML, which currently easily creates
> more than 64K (the default limit) vma's for a single process. Actually, it
> needs one VMA per each page. So, with this patch and specific UML support,
> which Ingo wrote and which I'm porting to recent UMLs.

I'll try to take a look sometime next week - or, if I wait until
next Friday, can we expect it to have come down to 9 patches ;-?

I should say, my initial reaction is very much like Andi's last week.

sys_remap_file_pages solves a real problem, but it does so by breaking
lots of rules. For more than a year after it came in, almost every
development we tried in mm would come up against "but then what do we
do about the nonlinear mappings?".

That has settled down now, but I don't look forward to extending it.
On the other hand, UML does deserve better support.

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