All of lore.kernel.org
 help / color / mirror / Atom feed
* [Adeos-main] Behaviour of adeos_catch_event when domain unregistered
@ 2004-10-14 13:41 Currie Reid
  2004-10-14 16:30 ` Philippe Gerum
  0 siblings, 1 reply; 5+ messages in thread
From: Currie Reid @ 2004-10-14 13:41 UTC (permalink / raw)
  To: adeos-main

Hello all,

I am just trying to understand the underlying behaviour of adeos, and in
my testing I have come across some behaviour that I want to verify is
correct.  If I set a handler for ADEOS_EXIT_PROCESS without registering a
domain, then the handler is in the root domain and behaves as expected
(thank you printk!).  Next, I do a handler in a registered domain for
ADEOS_EXIT_PROCESS and perform 2 tests - 1 where the handler doesn't
propagate the event to the root domain, and one where it does.  These both
behave as expected - when propagated, I see the handler executing once for
each domain.  But when I unload the module and unregister the domain, the
handler in the root domain no longer executes - I would have thought that
the handler would still be in place.

If I register 2 domains and duplicate the test, when the higher priority
domain is unregistered, the lower priority domain starts handling the
events again, as expected.  I haven't delved into to code to see how easy
this is to change - mostly because I'm not sure that this isn't
uninitended behaviour.

I am currently performing testing on a g4 powermac using
adeos-linuxppc-2.6.8rc1-r6c8.patch.

Currie



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

end of thread, other threads:[~2004-10-14 20:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-14 13:41 [Adeos-main] Behaviour of adeos_catch_event when domain unregistered Currie Reid
2004-10-14 16:30 ` Philippe Gerum
2004-10-14 18:13   ` Currie Reid
2004-10-14 19:09     ` Philippe Gerum
2004-10-14 20:32       ` Currie Reid

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.