From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753815AbcBZIba (ORCPT ); Fri, 26 Feb 2016 03:31:30 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36389 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750935AbcBZIb2 (ORCPT ); Fri, 26 Feb 2016 03:31:28 -0500 Subject: Re: BUG: unable to handle kernel paging request from pty_write [was: Linux 4.4.2] To: Jiri Kosina , Linus Torvalds References: <20160217203730.GA14820@kroah.com> <56CED373.9060603@suse.cz> <56CF4A83.3040408@hurleysoftware.com> <56CF64C9.8050705@hurleysoftware.com> Cc: Peter Hurley , Greg KH , Linux Kernel Mailing List , Andrew Morton , stable , lwn@lwn.net, Steven Rostedt From: Jiri Slaby Message-ID: <56D00D5D.8020709@suse.cz> Date: Fri, 26 Feb 2016 09:31:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/25/2016, 11:00 PM, Jiri Kosina wrote: >> If it was one of the calls _in_ try_to_wake_up() that called to insane >> code, I would have expected to see try_to_wake_up on the stack. > > try_to_wake_up() is very likely to be inlined into wake_up_process(), and > therefore in such cases will never be on the stack as a return address; > it'll always be wake_up_process(). Actually it is not inlined, see core.s at: http://labs.suse.cz/jslaby/bug-968218/ thanks, -- js suse labs