]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: balloon: Make the balloon driver not unloadable
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 15 Mar 2013 19:25:42 +0000 (12:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 19:11:50 +0000 (12:11 -0700)
commit4392aa34937fb719c54d1046a02b1312db1d45a5
tree46c78769fb68002e55863bcd5176fcf35722eb9e
parente1971eb68dc907bcc7955a197bac3578e3cbf334
Drivers: hv: balloon: Make the balloon driver not unloadable

The balloon driver is stateful. For instance, it needs to keep track of pages
that have been ballooned out to properly post pressure reports. This state cannot
be re-constructed if the driver were to be unloaded and subsequently loaded.
Furthermore, as we support memory hot-add as part of this driver, this driver becomes
even more stateful and this state cannot be re-created. Make the balloon driver
unloadable to deal with this issue.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c