]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Don't reinit map value in prealloc_lru_pop'
authorAlexei Starovoitov <ast@kernel.org>
Wed, 10 Aug 2022 01:46:12 +0000 (18:46 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Aug 2022 01:46:12 +0000 (18:46 -0700)
commit859d06892a1da5fa4c360d4d5a39a5a3c2930a8a
tree8b2a5de71b7b3f5cdbc9972a27724030ea1010d2
parent955e64c57bc1c528607d70b71537938cf9784e8a
parentb0011657b82954aa162fcff9122f01306370190c
Merge branch 'Don't reinit map value in prealloc_lru_pop'

Kumar Kartikeya Dwivedi says:

====================

Fix for a bug in prealloc_lru_pop spotted while reading the code, then a test +
example that checks whether it is fixed.

Changelog:
----------
v2 -> v3:
v2: https://lore.kernel.org/bpf/20220809140615.21231-1-memxor@gmail.com

 * Switch test to use kptr instead of kptr_ref to stabilize test runs
 * Fix missing lru_bug__destroy (Yonghong)
 * Collect Acks

v1 -> v2:
v1: https://lore.kernel.org/bpf/20220806014603.1771-1-memxor@gmail.com

 * Expand commit log to include summary of the discussion with Yonghong
 * Make lru_bug selftest serial to not mess up refcount for map_kptr test
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>