Messages in this thread | | | Date | Tue, 14 Aug 2018 11:55:00 +0200 | From | Oscar Salvador <> | Subject | Re: [PATCH v2 3/3] mm/memory_hotplug: Refactor unregister_mem_sect_under_nodes |
| |
On Tue, Aug 14, 2018 at 11:39:34AM +0200, David Hildenbrand wrote: > On 13.08.2018 17:46, osalvador@techadventures.net wrote: > > From: Oscar Salvador <osalvador@suse.de> > > While at it, we can also drop the node_online() check, as a node can only be > > offline if all the memory/cpus associated with it have been removed. > > I would prefer splitting this change out into a separate patch.
Yes, I guess it is better as it is not really related to the changes in this patch. I will wait for more feedback and I will split it up in v3.
> > + > > + if (unlinked_nodes) > > + NODEMASK_FREE(unlinked_nodes); > > NODEMASK_FEEE/kfree can deal with NULL pointers.
Good point, I missed that. I will fix it up in v3.
Thanks for reviewing. -- Oscar Salvador SUSE L3
| |