Liu Jinsong
484400ffbf
xen/acpi: xen memory hotplug minor updates
...
Dan Carpenter found current xen memory hotplug logic
has potential issue: at func acpi_memory_get_device()
*mem_device = acpi_driver_data(device);
while the device may be NULL and then dereference.
At native side, Rafael recently updated acpi_memory_get_device(),
dropping acpi_bus_add, adding lock, and avoiding above issue.
This patch updates xen memory hotplug logic accordingly, removing
redundant logic, adding lock, and avoiding dereference.
Signed-off-by: Liu Jinsong <jinsong.liu@intel.com >
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com >
2013-02-25 07:44:21 -05:00
..
2013-02-23 17:50:14 -08:00
2013-01-25 12:21:46 -08:00
2013-02-23 17:09:55 -08:00
2013-02-08 14:22:05 -05:00
2013-01-03 15:57:16 -08:00
2013-02-23 17:50:16 -08:00
2013-02-14 14:23:33 -05:00
2013-02-21 12:05:51 -08:00
2013-02-21 17:40:58 -08:00
2013-01-03 15:57:16 -08:00
2013-01-03 15:57:16 -08:00
2013-02-22 19:25:09 -08:00
2013-02-21 15:38:49 -08:00
2013-02-21 15:40:16 -08:00
2013-02-18 14:53:08 -05:00
2013-02-21 15:12:18 -08:00
2013-02-21 15:27:22 -08:00
2013-01-11 11:24:20 -08:00
2013-01-29 10:48:30 +01:00
2013-02-23 17:09:55 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 13:57:13 -08:00
2013-02-21 17:40:58 -08:00
2013-02-23 17:50:12 -08:00
2013-02-21 17:54:03 -08:00
2013-02-21 17:40:58 -08:00
2013-02-21 17:41:38 -08:00
2013-01-03 15:57:16 -08:00
2013-02-21 13:57:13 -08:00
2013-02-20 11:26:56 -08:00
2013-02-21 15:27:22 -08:00
2013-02-21 17:40:58 -08:00
2013-02-22 19:25:09 -08:00
2013-02-21 12:11:44 -08:00
2013-02-21 17:40:58 -08:00
2013-02-21 15:27:22 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 13:57:13 -08:00
2013-02-21 14:58:40 -08:00
2013-02-21 17:40:58 -08:00
2013-01-21 14:52:44 -08:00
2013-02-21 13:41:04 -08:00
2013-02-23 17:09:55 -08:00
2013-02-02 00:01:15 +01:00
2013-02-23 17:50:08 -08:00
2013-02-21 17:54:03 -08:00
2013-01-22 11:41:56 -08:00
2013-01-21 14:52:44 -08:00
2013-01-03 15:57:14 -08:00
2013-02-21 15:12:18 -08:00
2013-02-21 13:57:13 -08:00
2013-02-21 13:57:13 -08:00
2013-02-21 15:38:49 -08:00
2013-02-23 17:09:55 -08:00
2013-02-18 13:47:13 -05:00
2013-01-21 14:34:21 -08:00
2013-02-21 17:40:58 -08:00
2013-02-20 22:51:52 +01:00
2013-02-21 17:54:03 -08:00
2013-02-21 17:54:03 -08:00
2013-02-21 17:40:58 -08:00
2013-02-21 15:38:49 -08:00
2013-02-21 12:11:44 -08:00
2013-01-31 21:11:08 +01:00
2013-02-21 12:11:44 -08:00
2013-02-13 10:13:58 -08:00
2013-01-03 15:57:16 -08:00
2013-01-22 11:41:57 -08:00
2013-02-19 12:43:12 +00:00
2013-02-21 15:20:41 -08:00
2013-02-21 17:40:58 -08:00
2013-02-21 17:38:49 -08:00
2013-02-24 13:07:18 -08:00
2013-01-11 11:39:03 -08:00
2013-02-21 17:40:58 -08:00
2013-01-29 08:56:25 -08:00
2013-01-03 15:57:16 -08:00
2013-02-21 15:27:22 -08:00
2013-02-14 14:23:33 -05:00
2013-02-23 17:50:18 -08:00
2013-02-21 17:40:58 -08:00
2013-01-25 12:21:47 -08:00
2013-02-24 16:18:31 -08:00
2013-02-14 15:55:18 +01:00
2013-02-23 17:50:35 -08:00
2013-02-06 12:18:56 -08:00
2013-01-15 10:45:26 -07:00
2013-02-21 12:05:51 -08:00
2013-02-23 17:09:55 -08:00
2013-01-11 11:39:04 -08:00
2013-01-17 12:11:27 -08:00
2013-02-14 09:24:14 -08:00
2013-02-21 13:57:13 -08:00
2013-01-25 12:21:48 -08:00
2013-02-25 07:44:21 -05:00
2013-01-03 15:57:01 -08:00
2013-02-21 13:57:13 -08:00
2013-02-23 17:09:55 -08:00