Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753512Ab0AHDRG (ORCPT ); Thu, 7 Jan 2010 22:17:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753408Ab0AHDRF (ORCPT ); Thu, 7 Jan 2010 22:17:05 -0500 Received: from mga02.intel.com ([134.134.136.20]:34489 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196Ab0AHDRB (ORCPT ); Thu, 7 Jan 2010 22:17:01 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.49,239,1262592000"; d="scan'208";a="482329492" From: "Zheng, Shaohui" To: "linux-mm@kvack.org" , "akpm@linux-foundation.org" CC: "linux-kernel@vger.kernel.org" , "ak@linux.intel.com" , "y-goto@jp.fujitsu.com" , Dave Hansen , "Wu, Fengguang" , "x86@kernel.org" Date: Fri, 8 Jan 2010 11:16:13 +0800 Subject: [PATCH - resend ] memory-hotplug: create /sys/firmware/memmap entry for new memory(v3) Thread-Topic: [PATCH - resend ] memory-hotplug: create /sys/firmware/memmap entry for new memory(v3) Thread-Index: AcqQEO6R/XWGsE6nQtu+/ngbeNU/ow== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/mixed; boundary="_002_DA586906BA1FFC4384FCFD6429ECE86031560B8Dshzsmsx502ccrco_" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 14909 Lines: 326 --_002_DA586906BA1FFC4384FCFD6429ECE86031560B8Dshzsmsx502ccrco_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Resend the patch to the mailing-list, the original patch URL is at=20 http://patchwork.kernel.org/patch/69071/. It is already reviewed, but It is= still not=20 accepted and no comments, I guess that it should be ignored since we have s= o many=20 patches each day, send it again. =20 memory-hotplug: create /sys/firmware/memmap entry for hot-added memory Interface firmware_map_add was not called in explicit, Remove it and add fu= nction firmware_map_add_hotplug as hotplug interface of memmap. When we hot-add new memory, sysfs does not export memmap entry for it. we a= dd a call in function add_memory to function firmware_map_add_hotplug. Add a new function add_sysfs_fw_map_entry to create memmap entry, it can av= oid=20 duplicated codes. Thanks for the careful review from Fengguang Wu and Dave Hansen. Signed-off-by: Shaohui Zheng Acked-by: Andi Kleen Acked-by: Yasunori Goto Acked-by: Dave Hansen Reviewed-by: Wu Fengguang --- diff --git a/drivers/firmware/memmap.c b/drivers/firmware/memmap.c index 56f9234..ec8c3d4 100644 --- a/drivers/firmware/memmap.c +++ b/drivers/firmware/memmap.c @@ -123,52 +123,75 @@ static int firmware_map_add_entry(u64 start, u64 end, } =20 /** - * firmware_map_add() - Adds a firmware mapping entry. + * Add memmap entry on sysfs + */ +static int add_sysfs_fw_map_entry(struct firmware_map_entry *entry) { + static int map_entries_nr; + static struct kset *mmap_kset; + + if (!mmap_kset) { + mmap_kset =3D kset_create_and_add("memmap", NULL, firmware_kobj); + if (WARN_ON(!mmap_kset)) + return -ENOMEM; + } + + entry->kobj.kset =3D mmap_kset; + if (kobject_add(&entry->kobj, NULL, "%d", map_entries_nr++)) + kobject_put(&entry->kobj); + + return 0; +} + +/** + * firmware_map_add_early() - Adds a firmware mapping entry. * @start: Start of the memory range. * @end: End of the memory range (inclusive). * @type: Type of the memory range. * - * This function uses kmalloc() for memory - * allocation. Use firmware_map_add_early() if you want to use the bootmem - * allocator. + * Adds a firmware mapping entry. This function uses the bootmem allocator + * for memory allocation. * * That function must be called before late_initcall. * * Returns 0 on success, or -ENOMEM if no memory could be allocated. **/ -int firmware_map_add(u64 start, u64 end, const char *type) +int __init firmware_map_add_early(u64 start, u64 end, const char *type) { struct firmware_map_entry *entry; =20 - entry =3D kmalloc(sizeof(struct firmware_map_entry), GFP_ATOMIC); - if (!entry) + entry =3D alloc_bootmem(sizeof(struct firmware_map_entry)); + if (WARN_ON(!entry)) return -ENOMEM; =20 return firmware_map_add_entry(start, end, type, entry); } =20 /** - * firmware_map_add_early() - Adds a firmware mapping entry. + * firmware_map_add_hotplug() - Adds a firmware mapping entry when we do + * memory hotplug. * @start: Start of the memory range. * @end: End of the memory range (inclusive). * @type: Type of the memory range. * - * Adds a firmware mapping entry. This function uses the bootmem allocator - * for memory allocation. Use firmware_map_add() if you want to use kmallo= c(). - * - * That function must be called before late_initcall. + * Adds a firmware mapping entry. This function is for memory hotplug, it = is + * simiar with function firmware_map_add_early. the only difference is tha= t + * it will create the syfs entry dynamically. * * Returns 0 on success, or -ENOMEM if no memory could be allocated. **/ -int __init firmware_map_add_early(u64 start, u64 end, const char *type) +int __meminit firmware_map_add_hotplug(u64 start, u64 end, const char *typ= e) { struct firmware_map_entry *entry; =20 - entry =3D alloc_bootmem(sizeof(struct firmware_map_entry)); + entry =3D kzalloc(sizeof(struct firmware_map_entry), GFP_ATOMIC); if (WARN_ON(!entry)) return -ENOMEM; =20 - return firmware_map_add_entry(start, end, type, entry); + firmware_map_add_entry(start, end, type, entry); + /* create the memmap entry */ + add_sysfs_fw_map_entry(entry); + + return 0; } =20 /* @@ -214,18 +237,10 @@ static ssize_t memmap_attr_show(struct kobject *kobj, */ static int __init memmap_init(void) { - int i =3D 0; struct firmware_map_entry *entry; - struct kset *memmap_kset; - - memmap_kset =3D kset_create_and_add("memmap", NULL, firmware_kobj); - if (WARN_ON(!memmap_kset)) - return -ENOMEM; =20 list_for_each_entry(entry, &map_entries, list) { - entry->kobj.kset =3D memmap_kset; - if (kobject_add(&entry->kobj, NULL, "%d", i++)) - kobject_put(&entry->kobj); + add_sysfs_fw_map_entry(entry); } =20 return 0; diff --git a/include/linux/firmware-map.h b/include/linux/firmware-map.h index 875451f..c6dcc1d 100644 --- a/include/linux/firmware-map.h +++ b/include/linux/firmware-map.h @@ -24,17 +24,17 @@ */ #ifdef CONFIG_FIRMWARE_MEMMAP =20 -int firmware_map_add(u64 start, u64 end, const char *type); int firmware_map_add_early(u64 start, u64 end, const char *type); +int firmware_map_add_hotplug(u64 start, u64 end, const char *type); =20 #else /* CONFIG_FIRMWARE_MEMMAP */ =20 -static inline int firmware_map_add(u64 start, u64 end, const char *type) +static inline int firmware_map_add_early(u64 start, u64 end, const char *t= ype) { return 0; } =20 -static inline int firmware_map_add_early(u64 start, u64 end, const char *t= ype) +static inline int firmware_map_add_hotplug(u64 start, u64 end, const char = *type) { return 0; } diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 030ce8a..78e34e6 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -28,6 +28,7 @@ #include #include #include +#include =20 #include =20 @@ -523,6 +524,9 @@ int __ref add_memory(int nid, u64 start, u64 size) BUG_ON(ret); } =20 + /* create new memmap entry */ + firmware_map_add_hotplug(start, start + size, "System RAM"); + goto out; =20 error: Thanks & Regards, Shaohui --_002_DA586906BA1FFC4384FCFD6429ECE86031560B8Dshzsmsx502ccrco_ Content-Type: application/octet-stream; name= "memory-hotplug-create-sys-firmware-memmap-entry-for-new-memory-v3.patch" Content-Description: memory-hotplug-create-sys-firmware-memmap-entry-for-new-memory-v3.patch Content-Disposition: attachment; filename= "memory-hotplug-create-sys-firmware-memmap-entry-for-new-memory-v3.patch"; size=5746; creation-date="Fri, 18 Dec 2009 16:26:02 GMT"; modification-date="Mon, 21 Dec 2009 09:38:34 GMT" Content-Transfer-Encoding: base64 bWVtb3J5LWhvdHBsdWc6IGNyZWF0ZSAvc3lzL2Zpcm13YXJlL21lbW1hcCBlbnRyeSBmb3IgaG90 LWFkZGVkIG1lbW9yeQoKSW50ZXJmYWNlIGZpcm13YXJlX21hcF9hZGQgd2FzIG5vdCBjYWxsZWQg aW4gZXhwbGljaXQsIFJlbW92ZSBpdCBhbmQgYWRkIGZ1bmN0aW9uCmZpcm13YXJlX21hcF9hZGRf aG90cGx1ZyBhcyBob3RwbHVnIGludGVyZmFjZSBvZiBtZW1tYXAuCgpXaGVuIHdlIGhvdC1hZGQg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5saW5lIGludCBm aXJtd2FyZV9tYXBfYWRkX2Vhcmx5KHU2NCBzdGFydCwgdTY0IGVuZCwgY29uc3QgY2hhciAqdHlw ZSkKK3N0YXRpYyBpbmxpbmUgaW50IGZpcm13YXJlX21hcF9hZGRfaG90cGx1Zyh1NjQgc3RhcnQs IHU2NCBlbmQsIGNvbnN0IGNoYXIgKnR5cGUpCiB7CiAJcmV0dXJuIDA7CiB9CmRpZmYgLS1naXQg YS9tbS9tZW1vcnlfaG90cGx1Zy5jIGIvbW0vbWVtb3J5X2hvdHBsdWcuYwppbmRleCAwMzBjZThh Li43OGUzNGU2IDEwMDY0NAotLS0gYS9tbS9tZW1vcnlfaG90cGx1Zy5jCisrKyBiL21tL21lbW9y eV9ob3RwbHVnLmMKQEAgLTI4LDYgKzI4LDcgQEAKICNpbmNsdWRlIDxsaW51eC9wZm4uaD4KICNp bmNsdWRlIDxsaW51eC9zdXNwZW5kLmg+CiAjaW5jbHVkZSA8bGludXgvbW1faW5saW5lLmg+Cisj aW5jbHVkZSA8bGludXgvZmlybXdhcmUtbWFwLmg+CiAKICNpbmNsdWRlIDxhc20vdGxiZmx1c2gu aD4KIApAQCAtNTIzLDYgKzUyNCw5IEBAIGludCBfX3JlZiBhZGRfbWVtb3J5KGludCBuaWQsIHU2 NCBzdGFydCwgdTY0IHNpemUpCiAJCUJVR19PTihyZXQpOwogCX0KIAorCS8qIGNyZWF0ZSBuZXcg bWVtbWFwIGVudHJ5ICovCisJZmlybXdhcmVfbWFwX2FkZF9ob3RwbHVnKHN0YXJ0LCBzdGFydCAr IHNpemUsICJTeXN0ZW0gUkFNIik7CisKIAlnb3RvIG91dDsKIAogZXJyb3I6Cg== --_002_DA586906BA1FFC4384FCFD6429ECE86031560B8Dshzsmsx502ccrco_-- -- 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/