Re: [PATCH] IB/rxe: avoid putting a large struct rxe_qp on stack

2016-12-12 Thread Doug Ledford
On 9/19/2016 9:28 AM, Leon Romanovsky wrote: > On Mon, Sep 19, 2016 at 01:57:26PM +0200, Arnd Bergmann wrote: >> A race condition fix added an rxe_qp structure to the stack in order >> to be able to perform rollback in rxe_requester(), but the structure >> is large enough to trigger the warning for

Re: [PATCH] IB/rxe: avoid putting a large struct rxe_qp on stack

2016-09-19 Thread Leon Romanovsky
On Mon, Sep 19, 2016 at 01:57:26PM +0200, Arnd Bergmann wrote: > A race condition fix added an rxe_qp structure to the stack in order > to be able to perform rollback in rxe_requester(), but the structure > is large enough to trigger the warning for possible stack overflow: > > drivers/infiniband/s

[PATCH] IB/rxe: avoid putting a large struct rxe_qp on stack

2016-09-19 Thread Arnd Bergmann
A race condition fix added an rxe_qp structure to the stack in order to be able to perform rollback in rxe_requester(), but the structure is large enough to trigger the warning for possible stack overflow: drivers/infiniband/sw/rxe/rxe_req.c: In function 'rxe_requester': drivers/infiniband/sw/rxe/