In message <Pine.LNX.3.96.1010219054120.16489F-100000@mandrakesoft.mandrakesoft
.com> you write:
> > We unlink the module
> > We free the memory
> >
> > At the same time another cpu may be walking the exception table that we fre
e.
>
> True.
>
> Rusty had a patch that locked the module list properly IIRC.
This is a while back, but I thought the solution Philipp and I came up
with was to simply used a rw semaphore for this, which was taken (read
only) on page fault if we have to scan the exception table.
Rusty.
-- Premature optmztion is rt of all evl. --DK - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:24 EST