Re: [patch] let CONFIG_SECCOMP default to n II

From: Andi Kleen
Date: Wed Jul 12 2006 - 18:12:27 EST


On Wednesday 12 July 2006 23:57, Andi Kleen wrote:
>
> > We can just fold the TSC disable stuff into the new thread_flags test
> > at context-switch time:
>
> I don't think it will work because you need to check state of
> both previous and next task. The thread_flags test only checks the
> state of the next task.

Actually scratch that objection. It should work just fine and would
indeed turn it into zero overhead for the common case.

Still I don't think it's actually needed so there might be still
a good case to remove it.

-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/