selinux: conditionally reschedule in hashtab_insert while loading selinux policy
authorDave Jones <davej@redhat.com>
Thu, 15 May 2014 19:03:53 +0000 (15:03 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 3 Jun 2014 19:21:50 +0000 (14:21 -0500)
After silencing the sleeping warning in mls_convert_context() I started
seeing similar traces from hashtab_insert. Do a cond_resched there too.

Signed-off-by: Dave Jones <davej@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/ss/hashtab.c

Simple merge