mei: drop wr_msg from the mei_dev structure
authorAlexander Usyskin <alexander.usyskin@intel.com>
Mon, 9 May 2016 04:07:47 +0000 (00:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Jun 2016 05:09:41 +0000 (22:09 -0700)
commitc0ff9019ee64101fda8f19338da799fda8217e14
treeca3a5ce68a37f9742f4c09f002938ee5fe3b9eb9
parentdc1392727e32a5e467c13365e56e292e50ee084c
mei: drop wr_msg from the mei_dev structure

The control messages are usually small, around 8 bytes, and can be
allocated on the stack.
Using on stack allocation allows us to drop 'wr_msg' a rather large
buffer reserved in the mei_dev structure and relax contention
of this device global buffer.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hbm.c
drivers/misc/mei/mei_dev.h