summaryrefslogtreecommitdiff
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2016-05-09 00:07:47 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-10 22:09:41 -0700
commitc0ff9019ee64101fda8f19338da799fda8217e14 (patch)
treeca3a5ce68a37f9742f4c09f002938ee5fe3b9eb9 /lib/percpu_counter.c
parentdc1392727e32a5e467c13365e56e292e50ee084c (diff)
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>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions