Re: [RFC PATCH 1/7] x86, mm: ZONE_DEVICE for "device memory"
From: Christoph Hellwig <hch@lst.de>
Date: 2015-08-15 13:33:59
Also in:
lkml, nvdimm
From: Christoph Hellwig <hch@lst.de>
Date: 2015-08-15 13:33:59
Also in:
lkml, nvdimm
On Wed, Aug 12, 2015 at 11:50:05PM -0400, Dan Williams wrote:
arch_add_memory() is reorganized a bit in preparation for a new arch_add_dev_memory() api, for now there is no functional change to the memory hotplug code.
Instead of the new arch_add_dev_memory call I'd just add a bool device argument to arch_add_memory and zone_for_memory (and later the altmap pointer aswell). arch_add_memory is a candidate to be factored into common code, except for s390 everything could be done with two small arch callouts. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>