Re: [PATCH] generic signal code (small new feature - userspace signal mask), kernel 2.6.16

From: Andi Kleen
Date: Mon Oct 16 2006 - 09:29:11 EST


Linus Torvalds <torvalds@xxxxxxxx> writes:
>
> Why? You're doing user-space accesses from within critical sections with a
> spinlock, and that's just a big no-no. Think page faults, swapping etc.

He could pin the page in memory like futexes do. One page pinned
per thread shouldn't be a big DOS issue either.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/