All of lore.kernel.org
 help / color / mirror / Atom feed
* do_domctl and EAGAIN
@ 2009-04-07  7:04 Juergen Gross
  2009-04-07  7:20 ` Keir Fraser
  0 siblings, 1 reply; 9+ messages in thread
From: Juergen Gross @ 2009-04-07  7:04 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com

Hi,

certain domctl hypercalls (and possibly others as well) might fail with errno
EAGAIN. This case seems to be tested only in very few places, e.g. in
xc_domain_destroy.

Is there any reason why this case isn't handled in do_domctl?
Shouldn't EINTR be handled as well?

The other solution would be to have two versions of do_domctl, one of them
looping in case of EAGAIN or EINTR.

I suspect this lack of errno-testing could lead to very sporadic failures...


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions               e-mail: juergen.gross@ts.fujitsu.com
Otto-Hahn-Ring 6                        Internet: ts.fujitsu.com
D-81739 Muenchen                 Company details: ts.fujitsu.com/imprint.html

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

end of thread, other threads:[~2009-04-07  8:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07  7:04 do_domctl and EAGAIN Juergen Gross
2009-04-07  7:20 ` Keir Fraser
2009-04-07  7:41   ` Juergen Gross
2009-04-07  7:47     ` Keir Fraser
2009-04-07  8:36       ` Juergen Gross
2009-04-07  8:49         ` Keir Fraser
2009-04-07  8:03     ` Keir Fraser
2009-04-07  8:19       ` Juergen Gross
2009-04-07  8:53         ` Keir Fraser

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.