All of lore.kernel.org
 help / color / mirror / Atom feed
* A wrong assert in get_ioreq()?
@ 2007-07-04 11:05 Paul Samon
  2007-07-04 11:12 ` Paul Samon
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Samon @ 2007-07-04 11:05 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]

In the function get_ioreq(),  there is a line:
    ASSERT((v == current) || spin_is_locked(&d->arch.hvm_domain.ioreq.lock));
I don't think it should be
    ASSERT(v == current).
we don't get the lock first, and I think we needn't it.

Am I missing something?

[-- Attachment #1.2: Type: text/html, Size: 412 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-05  1:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 11:05 A wrong assert in get_ioreq()? Paul Samon
2007-07-04 11:12 ` Paul Samon
2007-07-04 13:22   ` Keir Fraser
2007-07-05  1:08     ` Paul Samon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.