Re: Linux 2.4.1-ac15

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Feb 19 2001 - 11:27:58 EST


> so you hold a spinlock during copy_from_user ? Or did you change
> sys_init_module/sys_create_modules semantics ?

The only points I need to hold a spinlock are editing the chain and
walking it in a case where I dont hold the kernel lock.

So I spin_lock_irqsave the two ops updating the list links in each case and
the exception lookup walk

-
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:20 EST