some fixes about acpi_memhotplug
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 1 replyIn review
- v18 patches 12 repliesSuperseded
Changes in v2 from the cover letter
1. address David Rientjes and Konrad Rzeszutek Wilk's comment
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | fix memory leak when memory device is unbound from the module acpi_memhotplugdrivers/ | +21 | 1 reply | |
| 2/7 | free memory device if acpi_memory_enable_device() faileddrivers/ | +3 | 0 replies | |
| 3/7 | remove memory info from list before freeing itdrivers/ | +1 | 0 replies | |
| 4/7 | don't allow to eject the memory device if it is being useddrivers/ | +31 | 0 replies | |
| 5/7 | bind the memory device when the driver is being loadeddrivers/ | +0 | 0 replies | |
| 6/7 | auto bind the memory device which is hotpluged before the driver is loadeddrivers/ | +36 | 0 replies | |
| 7/7 | release memory resources if hotadd_new_pgdat() failedmm/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH 0/7 v2] some fixes about acpi_memhotplug
Changes from v1 to v2:
1. address David Rientjes and Konrad Rzeszutek Wilk's comment
Note:
Patch 2, 3, 7 have been acked by David Rientjes.
Wen Congyang (7):
fix memory leak when memory device is unbound from the module
acpi_memhotplug
free memory device if acpi_memory_enable_device() failed remove memory info from list before freeing it
don't allow to eject the memory device if it is being used bind the memory device when the driver is being loaded auto bind the memory device which is hotpluged before the driver is
loaded
release memory resources if hotadd_new_pgdat() failed
drivers/acpi/acpi_memhotplug.c | 123 ++++++++++++++++++++++++++++++---------- mm/memory_hotplug.c | 2 +- 2 files changed, 93 insertions(+), 32 deletions(-)