Thread (18 messages) 18 messages, 3 authors, 2018-09-01

Re: [PATCH RFCv2 1/6] mm/memory_hotplug: make remove_memory() take the device_hotplug_lock

From: David Hildenbrand <hidden>
Date: 2018-08-31 13:12:16
Also in: linux-acpi, linux-mm, linuxppc-dev, lkml

On 30.08.2018 21:35, Pasha Tatashin wrote:
quoted
+
+void __ref remove_memory(int nid, u64 start, u64 size)
Remove __ref, otherwise looks good:
Indeed, will do.

Thanks for the review. Will resend in two weeks when I'm back from vacation.

Cheers!
Reviewed-by: Pavel Tatashin <redacted>
quoted
+{
+	lock_device_hotplug();
+	__remove_memory(nid, start, size);
+	unlock_device_hotplug();
+}
 EXPORT_SYMBOL_GPL(remove_memory);
 #endif /* CONFIG_MEMORY_HOTREMOVE */

-- 

Thanks,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help