diff options
author | Jan Hoffmann <jan@3e8.eu> | 2022-12-17 21:45:43 +0100 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-12-27 16:29:57 +0100 |
commit | 2c40359c5c12621fa386efca3139ea523db6d39f (patch) | |
tree | 81e916c19fb678eeb067e809a2911a2e31b28c26 /target/linux/omap/Makefile | |
parent | ae0a3f88ac335801f17035504ba572d14205787a (diff) | |
download | upstream-2c40359c5c12621fa386efca3139ea523db6d39f.tar.gz upstream-2c40359c5c12621fa386efca3139ea523db6d39f.tar.bz2 upstream-2c40359c5c12621fa386efca3139ea523db6d39f.zip |
realtek: add cond_resched to loops accessing the FDB table
A full loop accessing all FDB entries can take several milliseconds
(on RTL839x about 20 ms), so give other kernel tasks a chance to run.
This is especially important for rtl83xx_port_fdb_dump which is itself
called in a loop for all ports by the kernel.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'target/linux/omap/Makefile')
0 files changed, 0 insertions, 0 deletions