diff options
| author | Denis Efremov <efremov@linux.com> | 2020-08-01 16:31:23 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-08-20 23:34:47 -0400 |
| commit | ee9108fedf63c6b8cfc40767c472680d51dd1662 (patch) | |
| tree | f693270c5c5d8b8559d62fff14266bf5725f6b8d /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | ca358af1d1bb5b9eb75f3998b20ab68f6b3ce69c (diff) | |
| download | linux-ee9108fedf63c6b8cfc40767c472680d51dd1662.tar.gz linux-ee9108fedf63c6b8cfc40767c472680d51dd1662.zip | |
scsi: libcxgbi: Use kvzalloc instead of opencoded kzalloc/vzalloc
Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions and use
kvzalloc/kvfree instead. __GFP_NOWARN added to kvzalloc() call because we
already print a warning in case of allocation fail.
Link: https://lore.kernel.org/r/20200801133123.61834-1-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
