From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2992489AbcBRXrW (ORCPT ); Thu, 18 Feb 2016 18:47:22 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:37058 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946674AbcBRXrT (ORCPT ); Thu, 18 Feb 2016 18:47:19 -0500 Date: Thu, 18 Feb 2016 15:47:18 -0800 From: Greg Kroah-Hartman To: "Matwey V. Kornilov" Cc: Andy Shevchenko , Jiri Slaby , Peter Hurley , One Thousand Gnomes , "linux-kernel@vger.kernel.org" , "linux-serial@vger.kernel.org" , =?utf-8?B?0JjQu9GM0Y/RgSDQk9Cw0YHQsNC90L7Qsg==?= Subject: Re: [PATCH v1] tty: serial: Use GFP_ATOMIC instead of GFP_KERNEL in serial8250_em485_init() Message-ID: <20160218234718.GB4517@kroah.com> References: <1455821240-5842-1-git-send-email-matwey@sai.msu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 18, 2016 at 11:29:07PM +0300, Matwey V. Kornilov wrote: > 2016-02-18 23:21 GMT+03:00 Andy Shevchenko : > > On Thu, Feb 18, 2016 at 8:47 PM, Matwey V. Kornilov wrote: > >> serial8250_em485_init() is supposed to be protected with > >> p->port.lock spinlock. > >> This may lead to issues when kmalloc sleeps, so it is better to use > >> GFP_ATOMIC in this spinlocked context. > >> > >> Fixes: e490c9144cfa ("tty: Add software emulated RS485 support for 8250") > >> Reported-by: > > > > Hmm... Can't we put Cyrillic characters to tags as name of a person? > > I am afraid non-ASCII will break something eventually. I think it > would be better to ask Ilias to put his name in proper latin > transcription here. Why, we accept non-ASCII names all the time, why would we not do so? Please fix up and resend. thansk, greg k-h