diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-18 10:45:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-18 21:54:29 +0300 |
commit | 5a860f9184eb45b2df3fb3364a6b7d076545f83d (patch) | |
tree | 8e5eba015e8d1311280655082e0ea07cafe87726 /tools/perf/scripts/python | |
parent | 666a3d6e1e6b78df34f59e6c0b8907aa3c8dbb2e (diff) | |
download | linux-5a860f9184eb45b2df3fb3364a6b7d076545f83d.tar.xz |
liquidio: Replace vmalloc + memset with vzalloc
Use vzalloc and vzalloc_node instead of using vmalloc and
vmalloc_node and then zeroing the allocated memory by
memset 0.
This simplifies the code.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions