qcacld-3.0: Avoid taking lock for vfree API during driver load/unload

This is qcacld-2.0 to qcacld-3.0 propagation

Avoid invoking vfree inside spinlock during logging service
activation and deactivation. Since vfree is prone to sleep, this
disables the IRQs for duration longer than the acceptable limit.
vfree can be done without spin lock here, as there is no
synchronization issue in this scenario.

CRs-Fixed: 914363
Change-Id: I4d69431a98a4e4301dfc1e2b3b4c40c408a7ef99
1 file changed
tree: 23e5880ff5ebf3d41452b8d711b03ae28aa3da9c
  1. config/
  2. core/
  3. target/
  4. uapi/
  5. Android.mk
  6. Kbuild
  7. Kconfig
  8. Makefile
  9. README.txt