Messages in this thread | | | Date | Wed, 14 Feb 2007 22:02:51 +0100 | From | Ingo Molnar <> | Subject | Re: [patch 05/11] syslets: core code |
| |
* Linus Torvalds <torvalds@linux-foundation.org> wrote:
> And the whole "lock things down in memory" approach is bad. It's doing > expensive things like mlock(), making the overhead for _single_ system > calls much more expensive. [...]
hm, there must be some misunderstanding here. That mlock is /only/ once per the lifetime of the whole 'head' - i.e. per sys_async_register(). (And you can even forget i ever did it - it's 5 lines of code to turn the completion ring into a swappable entity.)
never does any MMU trick ever enter the picture during the whole operation of this thing, and that's very much intentional.
Ingo - 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/
| |