copyin()/copyout() constraints ?

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Wed, 12 Jun 2013 20:01:15 +0200
hi,
is it possible to run copyin() or copyout() in one of these cases:
1. while holding a spinlock
2. while holding a regular mutex/lock
3. while holding a read lock (on an RWLOCK or RMLOCK)
4. while holding a write lock (on an RWLOCK or RMLOCK)

I suspect #1 is forbidden, but am a bit unclear for the
other cases.

thanks
luigi
Received on Wed Jun 12 2013 - 15:58:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:38 UTC