lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20150227.175530.1113665360721267666.davem@davemloft.net> Date: Fri, 27 Feb 2015 17:55:30 -0500 (EST) From: David Miller <davem@...emloft.net> To: eric.dumazet@...il.com Cc: kaber@...sh.net, alexei.starovoitov@...il.com, daniel@...earbox.net, David.Laight@...lab.com, tgraf@...g.ch, pablo@...filter.org, johunt@...mai.com, netdev@...r.kernel.org Subject: Re: [PATCH net] rhashtable: use cond_resched() From: Eric Dumazet <eric.dumazet@...il.com> Date: Thu, 26 Feb 2015 07:20:34 -0800 > From: Eric Dumazet <edumazet@...gle.com> > > 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@...gle.com> Applied, thanks Eric. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists