Re: [PATCH 6/7] n_tty: Fix unsafe update of available buffer space

2013-03-19 Thread Ilya Zykov
On 19.03.2013 18:26, Peter Hurley wrote: > receive_room is used to control the amount of data the flip > buffer work can push to the read buffer. This update is unsafe: > > CPU 0| CPU 1 >| >| n_tty_read() >

[PATCH 6/7] n_tty: Fix unsafe update of available buffer space

2013-03-19 Thread Peter Hurley
receive_room is used to control the amount of data the flip buffer work can push to the read buffer. This update is unsafe: CPU 0| CPU 1 | | n_tty_read() | n_tty_set_room()

[PATCH 6/7] n_tty: Fix unsafe update of available buffer space

2013-03-06 Thread Peter Hurley
receive_room is used to control the amount of data the flip buffer work can push to the read buffer. This update is unsafe: CPU 0| CPU 1 | | n_tty_read() | n_tty_set_room()