summaryrefslogtreecommitdiff
path: root/src/display.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@argon.tklauser.home>2007-08-16 14:07:09 +0200
committerTobias Klauser <tklauser@argon.tklauser.home>2007-08-16 14:07:09 +0200
commit032941b6532127263a11088a30cf4480547abeba (patch)
tree77534e28056cb21f69e9b8fe4e178c2867ff4e9f /src/display.c
parent20930e8c0bd28d9b214cdc7f969dae8330591957 (diff)
Update changelog
Diffstat (limited to 'src/display.c')
0 files changed, 0 insertions, 0 deletions
y stopped and freed if (likely(worker)) { // true => read before CPU2 acted cq->notify = RVT_CQ_NONE; cq->triggered++; kthread_queue_work(worker, &cq->comptask); BANG: worker has been flushed/stopped/freed in the meantime. This patch solves this by protecting the critical sections by rdi->n_cqs_lock. It seems that this lock is not much contended and looks reasonable for this purpose. One catch is that rvt_cq_enter() might be called from IRQ context. Therefore we must always take the lock with IRQs disabled to avoid a possible deadlock. Signed-off-by: Petr Mladek <pmladek@suse.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Documentation')