Philip Blundell writes:
> >Or are there any syscall handlers which are likely to use SWP (presuming
> >the majority of the kernel mutexes never get paged out, and thus
> >ignoring any non-aborting variety)?
> 
> I don't think the kernel ever uses SWP to touch anything that's entitled to be 
> paged, either.  The whole of its own address space is permanently mapped, so 
> it's only accesses to user pages that might fault.

(the following is for the record only)

There is one major problem with using SWP from user space though, and that is
that no two processors implement it in the same manner.  Therefore, the correct
use on one processor type is the incorrect use on another.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [EMAIL PROTECTED]      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to