]> git.baikalelectronics.ru Git - kernel.git/commit
cgroup, netclassid: remove double cond_resched
authorJiri Slaby <jslaby@suse.cz>
Mon, 20 Apr 2020 07:04:24 +0000 (09:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2020 22:44:30 +0000 (15:44 -0700)
commit4bd612053afa7012a3e74628c77c49213393f2ab
tree517d414a8e8a41cb380ca3aab2dc47f3b30136d4
parent70ff2b93fbd270e798748519e0a9c0363d57d18e
cgroup, netclassid: remove double cond_resched

Commit fe76dffbcfd2 ("cgroup, netclassid: periodically release file_lock
on classid") added a second cond_resched to write_classid indirectly by
update_classid_task. Remove the one in write_classid.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Dmitry Yakunin <zeil@yandex-team.ru>
Cc: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netclassid_cgroup.c