Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936316Ab3DIWTJ (ORCPT ); Tue, 9 Apr 2013 18:19:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40418 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753305Ab3DIWTI (ORCPT ); Tue, 9 Apr 2013 18:19:08 -0400 Date: Tue, 9 Apr 2013 15:19:06 -0700 From: Andrew Morton To: Andrew Shewmaker Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, alan@lxorguk.ukuu.org.uk, simon.jeons@gmail.com, ric.masonn@gmail.com Subject: Re: [PATCH v8 3/3] mm: reinititalise user and admin reserves if memory is added or removed Message-Id: <20130409151906.2ee55116ca9e3abd80a90e3e@linux-foundation.org> In-Reply-To: <20130408210039.GA3396@localhost.localdomain> References: <20130408190738.GC2321@localhost.localdomain> <20130408133712.bd327017dec19a2c14e22662@linux-foundation.org> <20130408210039.GA3396@localhost.localdomain> X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 14 On Mon, 8 Apr 2013 17:00:40 -0400 Andrew Shewmaker 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". -- 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/