summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-06-12 14:04:46 -0700
committerBen Hutchings <ben@decadent.org.uk>2013-06-19 02:17:00 +0100
commit4d839b14d2091a224a6d0a6fa1cffa58fc00d8a7 (patch)
treef2ac6a87008797d91bb2f4fc55a27b314d1d0239 /virt
parentc32d723b2c7aa214602b626a5af32f8fc4ec5571 (diff)
audit: wait_for_auditd() should use TASK_UNINTERRUPTIBLE
commit f000cfdde5de4fc15dead5ccf524359c07eadf2b upstream. audit_log_start() does wait_for_auditd() in a loop until audit_backlog_wait_time passes or audit_skb_queue has a room. If signal_pending() is true this becomes a busy-wait loop, schedule() in TASK_INTERRUPTIBLE won't block. Thanks to Guy for fully investigating and explaining the problem. (akpm: that'll cause the system to lock up on a non-preemptible uniprocessor kernel) (Guy: "Our customer was in fact running a uniprocessor machine, and they reported a system hang.") Signed-off-by: Oleg Nesterov <oleg@redhat.com> Reported-by: Guy Streeter <streeter@redhat.com> Cc: Eric Paris <eparis@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> [bwh: Backported to 3.2: adjust context, indentation] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions