On Wed 25 Jul 2007 19:20, Mike Frysinger pondered: > On 7/25/07, Bernd Schmidt <[EMAIL PROTECTED]> wrote: > > This isn't necessarily a safe interface - assume you have two modules > > which want to replace the same exception vector, and you have the > > following order: > > load A > > load B > > unload A > > unload B > > for simplicity sake, this was done on purpose with the idea being the > user should be smart enough to manage these things ... they should > know to keep the exceptions unique.
Part of the kernel's job is to protect the user from their own stupidity :) Since the load/install isn't part of the fast path - some sanity checking might be a good idea. > you think that if the entry requested is not assigned to _ex_trap_c, > it should return -EBUSY ? problem with that is then when you unload the module - you will always get -EBUSY (Wouldn't you?). -Robin _______________________________________________ Uclinux-dist-devel mailing list Uclinux-dist-devel@blackfin.uclinux.org http://blackfin.uclinux.org/mailman/listinfo/uclinux-dist-devel