xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* credit2's csched_init() registering of a CPU notifier
@ 2011-03-18  9:24 Jan Beulich
  2011-03-18 12:25 ` Jan Beulich
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Beulich @ 2011-03-18  9:24 UTC (permalink / raw)
  To: George Dunlap; +Cc: xen-devel@lists.xensource.com

George,

as ->init() can be called more than once (for CPU pools) it seems
wrong to do any global initialization in ->init(). The question is
whether it's worth adding a ->global_init(), or whether instead
a callout from the notifier schedule.c sets up wouldn't be a
better mechanism (though that would require maintaining a list
of scheduler instances).

Jan

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

end of thread, other threads:[~2011-03-18 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18  9:24 credit2's csched_init() registering of a CPU notifier Jan Beulich
2011-03-18 12:25 ` Jan Beulich
2011-03-18 15:30   ` George Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).