lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Xen-devel] Re: Xen paravirt frontend block hang
Christopher S. Aker wrote:
> Jeremy Fitzhardinge wrote:
>> Are you running an SMP or UP domain? I found I could get hangs very
>> easily with UP (but I need confirm it isn't a result of some other
>> very experimental patches).
>
> The hang occurs with both SMP and UP compiled pv_ops kernels. SMP
> kernels are still slightly responsive after the hang occurs, which
> makes me think only one proc gets stuck at a time, not the entire kernel.

The patch I posted yesterday - "xen: fix RMW when unmasking events" -
should definitively fix the hanging-under-load bugs (I hope). It
problem came from returning to userspace with pending events, which
would leave them hanging around on the vcpu unprocessed, and eventually
everything would deadlock. This was caused by using an unlocked
read-modify-write operation on the event pending flag - which can be set
by another (real) cpu - meaning that the pending event wasn't noticed
until too late. It would only be a problem on an SMP host.

The patch should back-apply to 2.6.24.

J


\
 
 \ /
  Last update: 2008-03-19 21:33    [W:0.207 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site