Re: [PATCH 1/4] fix might_sleep warning on socket shutdown.

2016-05-30 Thread Markus Pargmann
Hi, On Tuesday 24 May 2016 14:26:25 Pranay Kr. Srivastava wrote: > spinlocked ranges should be small and not contain calls into huge > subfunctions. Fix my mistake and just get the pointer to the socket > instead of doing everything with spinlock held. > > Reported-by: Mikulas Patocka

Re: [PATCH 1/4] fix might_sleep warning on socket shutdown.

2016-05-30 Thread Markus Pargmann
Hi, On Tuesday 24 May 2016 14:26:25 Pranay Kr. Srivastava wrote: > spinlocked ranges should be small and not contain calls into huge > subfunctions. Fix my mistake and just get the pointer to the socket > instead of doing everything with spinlock held. > > Reported-by: Mikulas Patocka >

[PATCH 1/4] fix might_sleep warning on socket shutdown.

2016-05-24 Thread Pranay Kr. Srivastava
spinlocked ranges should be small and not contain calls into huge subfunctions. Fix my mistake and just get the pointer to the socket instead of doing everything with spinlock held. Reported-by: Mikulas Patocka Signed-off-by: Markus Pargmann

[PATCH 1/4] fix might_sleep warning on socket shutdown.

2016-05-24 Thread Pranay Kr. Srivastava
spinlocked ranges should be small and not contain calls into huge subfunctions. Fix my mistake and just get the pointer to the socket instead of doing everything with spinlock held. Reported-by: Mikulas Patocka Signed-off-by: Markus Pargmann Changelog: Pranay Kr. Srivastava: 1) Use spin_lock