[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110302.115411.183067873.davem@davemloft.net>
Date: Wed, 02 Mar 2011 11:54:11 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: torvalds@...ux-foundation.org
Cc: oleg@...hat.com, akpm@...ux-foundation.org,
kosaki.motohiro@...fujitsu.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, pageexec@...email.hu, solar@...nwall.com,
eteo@...hat.com, spender@...ecurity.net, roland@...hat.com,
miltonm@....com
Subject: Re: [PATCH v3 0/4] exec: unify native/compat code
From: Linus Torvalds <torvalds@...ux-foundation.org>
Date: Wed, 2 Mar 2011 11:48:03 -0800
> Well, the thing is, on architectures that _can_ pass by value, it
> avoids one indirection.
>
> And if you do pass it on stack, then the code generated will be the
> same as if we passed a pointer. So sparc may not be able to take
> advantage of the optimization, but I don't think the code generation
> would be worse.
That's a good point, the situation here is different than the page table
one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists