diff options
author | 2019-08-08 15:18:17 +0800 | |
---|---|---|
committer | 2019-08-21 12:41:43 +0200 | |
commit | 3434caec5b70519ead87e7b66dbdc18e8dbaa506 (patch) | |
tree | d1664307d7535e986df81f880aee8f9edb6fd685 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/pci: PCI_IOV_RESOURCES loop refactoring in zpci_map_resources (diff) | |
download | linux-dev-3434caec5b70519ead87e7b66dbdc18e8dbaa506.tar.xz linux-dev-3434caec5b70519ead87e7b66dbdc18e8dbaa506.zip |
s390/extmem: use refcount_t for refcount
Reference counters are preferred to use refcount_t instead of
atomic_t.
This is because the implementation of refcount_t can prevent
overflows and detect possible use-after-free.
So convert atomic_t ref counters to refcount_t.
Link: http://lkml.kernel.org/r/20190808071817.6595-1-hslester96@gmail.com
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions