Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SVC (SWI) for Thumb



> Setting an 8 bit value costs one instruction in userspace, but
> probably removes one from the kernel side

So in time, it's a wash, but in space, you have one instruction per
syscall in the kernel versus of one instruction per syscall per program
in userland.  This seems to me like a clear win for keeping the
instruction in the kernel - especially if you're not sure it goes away
in the kernel.

Unless I'm missing someting - I don't really know thumb, just going on
what you wrote.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index