[lkml]   [2003]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Remove module reference counting.
In article <1059172995.16255.6.camel@sherbert> you wrote:
> 1. ->cleanup() - unregister IRQ handlers, timers, etc.
> surely if nothing is registered and all CPUs do a voluntary schedule()
> then there can be no chance of calling back in to the module.

no, because data structures might contain pointers, especially in handles.
So unregistering will avoid new handlers to jump into the code, but it will
not avoid that existing objets (i.e. open handles) exist. And exactly for
those the refcounting is used.

eckes privat -
Project Freefire -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.164 / U:3.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site