Re: [PATCH] hysdn: fix to a race condition in put_log_buffer

2017-08-03 Thread Sergei Shtylyov
Hello! On 08/03/2017 02:33 PM, Anton Volkov wrote: The synchronization type that was used earlier to guard the loop that deletes unused log buffers may lead to a situation that prevents any thread from going through the loop. The patch deletes previously used synchronization mechanism and move

[PATCH] hysdn: fix to a race condition in put_log_buffer

2017-08-03 Thread Anton Volkov
The synchronization type that was used earlier to guard the loop that deletes unused log buffers may lead to a situation that prevents any thread from going through the loop. The patch deletes previously used synchronization mechanism and moves the loop under the spin_lock so the similar cases won

Re: [PATCH] hysdn: fix to a race condition in put_log_buffer

2017-07-31 Thread David Miller
From: Anton Volkov Date: Fri, 28 Jul 2017 17:53:51 +0300 > The synchronization type that was used earlier to guard the loop that > deletes unused log buffers may have lead to a situation that prevents > any thread from going through the loop. > > The patch deletes previously used synchronization

[PATCH] hysdn: fix to a race condition in put_log_buffer

2017-07-28 Thread Anton Volkov
The synchronization type that was used earlier to guard the loop that deletes unused log buffers may have lead to a situation that prevents any thread from going through the loop. The patch deletes previously used synchronization mechanism and moves the loop under the spin_lock so the similar c