mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-04 09:57:37 +00:00
Avoid an atomic operation in kref_put() when the last reference is dropped. On most platforms, atomic_read() is a plan read of the counter and involves no atomic at all. Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1.8 KiB
1.8 KiB