linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] comments in ubd_kern.c
@ 2005-10-04 14:06 Chris Lightfoot
  2006-11-12 15:28 ` Blaisorblade
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Lightfoot @ 2005-10-04 14:06 UTC (permalink / raw)
  To: user-mode-linux-devel

Presently the code in ubd_kern.c carries the following
comments:

  - for ubd_handler,

    /* Called without ubd_io_lock held */

  - for do_ubd_request,

    /* Called with ubd_io_lock held */

ubd_handler locks ubd_io_lock before calling end_request,
but it then calls do_ubd_request, after releasing the
lock. But at the end of ubd_handler, it calls
do_ubd_request, and doesn't acquire the spinlock before
doing so. Am I missing something or is this an error?

-- 
Something must be done. This is something, so we must do it.
(characterising government-by-reaction)


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2006-11-12 15:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 14:06 [uml-devel] comments in ubd_kern.c Chris Lightfoot
2006-11-12 15:28 ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox