Re: [PATCH v8 3/3] mm: reinititalise user and admin reserves if memoryis added or removed

From: Simon Jeons
Date: Tue Apr 09 2013 - 20:14:45 EST


On 04/10/2013 08:11 AM, Andrew Shewmaker wrote:
On Tue, Apr 9, 2013 at 6:05 PM, Simon Jeons <simon.jeons@xxxxxxxxx> wrote:
Hi Andrew,

On 04/10/2013 07:56 AM, Andrew Shewmaker wrote:
On Tue, Apr 9, 2013 at 4:19 PM, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
wrote:
On Mon, 8 Apr 2013 17:00:40 -0400 Andrew Shewmaker <agshew@xxxxxxxxx>
wrote:

Should I add the memory notifier code to mm/nommu.c too?
I'm guessing that if a system doesn't have an mmu that it also
won't be hotplugging memory.
I doubt if we need to worry about memory hotplug on nommu machines,
so just do the minimum which is required to get nommu to compile
and link. That's probably "nothing".
I haven't gotten myself set up to compile a nommu architecture, so I'll
post
my next version, and work on verifying it compiles and links later. But I
I probably won't be able to get to that for a week and a half ... I'm
leaving
on my honeymoon in the next couple days :)

How to compile a nommu architecture? just config in menu config or a
physical machine?
I was going to set up a qemu arm guest. Please, anyone, let me know if
there's an easier way to test nommu builds on x86.

AFAK, arm7 is nommu.


--
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/