Re: [PATCH] sparc, exec: remove redundant addr_limit assignment

From: Linus Torvalds
Date: Sat Jun 11 2011 - 21:01:38 EST


On Sat, Jun 11, 2011 at 5:58 PM, David Miller <davem@xxxxxxxxxxxxx> wrote:
>
> The reason the test is only in this specific spot, is that's the only
> place where the optimization makes any sense.

Well, considering that it didn't make any sense there *either*, that's
kind of pointless.

We always had the unconditional "set_fs()" in the exec path. It only
got moved, and as part of that conscious effort, the pointless
architecture churn is getting cleaned up.

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