diff options
| author | Li RongQing <lirongqing@baidu.com> | 2018-09-11 04:05:01 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-09-12 10:08:44 +0300 |
| commit | 0041195d55bc38df6b574cc8c36dcf2266fbee39 (patch) | |
| tree | 1f0c49826312f1e69712e577309c6846b517e30b /tools/perf/scripts/python/sched-migration.py | |
| parent | 67edf21e5adfd336f2ff08668eb09850943666d3 (diff) | |
| download | linux-0041195d55bc38df6b574cc8c36dcf2266fbee39.tar.xz | |
netlink: remove hash::nelems check in netlink_insert
The type of hash::nelems has been changed from size_t to atom_t
which in fact is int, so not need to check if BITS_PER_LONG, that
is bit number of size_t, is bigger than 32
and rht_grow_above_max() will be called to check if hashtable is
too big, ensure it can not bigger than 1<<31
Signed-off-by: Zhang Yu <zhangyu31@baidu.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
