summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/idp.c
diff options
context:
space:
mode:
authorEric Dumazet2015-02-26 16:20:34 +0100
committerDavid S. Miller2015-02-27 23:55:14 +0100
commit5beb5c90c1f54d745da040aa05634a5830ba4a4c (patch)
tree4626f1033a05b15b4cd046d066de1011c7a7f67d /arch/arm/mach-pxa/idp.c
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsh... (diff)
downloadkernel-qcow2-linux-5beb5c90c1f54d745da040aa05634a5830ba4a4c.tar.gz
kernel-qcow2-linux-5beb5c90c1f54d745da040aa05634a5830ba4a4c.tar.xz
kernel-qcow2-linux-5beb5c90c1f54d745da040aa05634a5830ba4a4c.zip
rhashtable: use cond_resched()
If a hash table has 128 slots and 16384 elems, expand to 256 slots takes more than one second. For larger sets, a soft lockup is detected. Holding cpu for that long, even in a work queue is a show stopper for non preemptable kernels. cond_resched() at strategic points to allow process scheduler to reschedule us. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-pxa/idp.c')
0 files changed, 0 insertions, 0 deletions