]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: use dev_coredumpsg()
authorAviya Erenfeld <aviya.erenfeld@intel.com>
Tue, 20 Sep 2016 15:07:44 +0000 (18:07 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 26 Oct 2016 08:04:15 +0000 (11:04 +0300)
commit0c00f7eb5f999406a34614c7973ae39b3b370068
tree2c9444b32c6013f70cf573e129771ea232c402aa
parentfe7048680b8016ce27299650a8ac81d66c9379b0
iwlwifi: mvm: use dev_coredumpsg()

iwlmvm currently uses dev_coredumpm() to collect multiple
buffers, but this has the downside of pinning the module
until the coredump expires, if the data isn't read by any
userspace.

Avoid this by using the new dev_coredumpsg() method. We
still copy the data from the old way of generating it, but
neither hold on to vmalloc'ed data for a long time, nor do
we pin the module now.

Signed-off-by: Aviya Erenfeld <aviya.erenfeld@intel.com>
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c