[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D0F6FDD8D@AcuExch.aculab.com>
Date: Thu, 24 Apr 2014 08:28:56 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Alexei Starovoitov' <ast@...mgrid.com>,
Daniel Borkmann <dborkman@...hat.com>
CC: "David S. Miller" <davem@...emloft.net>,
Network Development <netdev@...r.kernel.org>
Subject: RE: [PATCH net-next 5/5] net: filter: optimize BPF migration for
ARG1/CTX handling
From: Alexei Starovoitov
...
> Have to correct myself here.
> sparc is an architecture where args are passed in %o regs
> and received by the callee in %i regs, so there is a precedent.
...
Not actually true, the parameters are still in the %o regs
in the called function.
It is the called function that rotates the register window,
not the act of making the function call.
Small leaf functions will typically use the existing register
window.
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists