From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032114AbdEYJ4u (ORCPT ); Thu, 25 May 2017 05:56:50 -0400 Received: from mx2.suse.de ([195.135.220.15]:39685 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933324AbdEYJ4r (ORCPT ); Thu, 25 May 2017 05:56:47 -0400 Date: Thu, 25 May 2017 11:56:45 +0200 From: Petr Mladek To: Sergey Senozhatsky Cc: Sumit Gemini , Sergey Senozhatsky , Peter Zijlstra , Steven Rostedt , linux-kernel@vger.kernel.org Subject: Re: Fwd: Watchdog detected hard lockup. Message-ID: <20170525095645.GE26699@pathway.suse.cz> References: <20170524082653.GB3311@jagdpanzerIV.localdomain> <20170524083914.GC3311@jagdpanzerIV.localdomain> <20170524125907.GA463@jagdpanzerIV.localdomain> <20170525052952.GA386@jagdpanzerIV.localdomain> <20170525055014.GB386@jagdpanzerIV.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170525055014.GB386@jagdpanzerIV.localdomain> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2017-05-25 14:50:14, Sergey Senozhatsky wrote: > On (05/25/17 11:14), Sumit Gemini wrote: > > Thanks Sergey and i forgot to add other guys in discussion. > >   > > > > [1]lkml.kernel.org/r/20170509082859.854-1-sergey.senozhatsky@gmail.com > > > > Now I'm going for backporting the kernel with RFC, as you suggested me > > yesterday. > > or you can try to reduce the amount of data you printk from IRQ. In fact, you should reduce the amount of data you printk from all contexts. There might be more sources that produce too many messages. The system evidently has troubles to keep the speed and get them on the console. You might also try to reduce the console_level and show only the more important messages on the console. > need to hex dump sbks all the time? I wanted to suggest using ratelimit but it seems that the hex dump is already ratelimited, see net_ratelimit() in ip_handle_martian_source(). This might suggest that are more sources of printk messages on the system. Or that you modified the ratelimit setting to print too many messages. > switching to a deferred printk won't > do the trick, probably, because you gonna console_unlock() from IRQ in > the worst case anyway. Yup. Best Regards, Petr