From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Cox Subject: Re: [PATCH] tty: Use raw spin lock to protect RX flip buffer Date: Thu, 20 Sep 2012 17:37:31 +0100 Message-ID: <20120920173731.657cd2b2@bob.linux.org.uk> References: <1348150080-4794-1-git-send-email-meltedpianoman@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Greg KH , , RT To: Ivo Sieben Return-path: In-Reply-To: <1348150080-4794-1-git-send-email-meltedpianoman@gmail.com> Sender: linux-serial-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org On Thu, 20 Sep 2012 16:08:00 +0200 Ivo Sieben wrote: > The "normal" spin lock that guards the RX flip buffer is replaced by > a raw spin lock. Our current goal is to get the buffers into the tty_port structure so we can try and get rid of some of the locks entirely. We have lockless kfifos and the port lifetime is the device lifetime plus so hopefully it'll go away entirely eventually. In the meantime I've no real opinion on the spin/raw_spin choices as it's basically an RT question not a tty one so if the rt folks are happy with it so am I. Alan