From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752027AbcGNRIM (ORCPT ); Thu, 14 Jul 2016 13:08:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36430 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751950AbcGNRHz (ORCPT ); Thu, 14 Jul 2016 13:07:55 -0400 Subject: Re: System freezes after OOM To: Michal Hocko References: <57837CEE.1010609@redhat.com> <9be09452-de7f-d8be-fd5d-4a80d1cd1ba3@redhat.com> <20160712064905.GA14586@dhcp22.suse.cz> <20160713111006.GF28723@dhcp22.suse.cz> <20160714125129.GA12289@dhcp22.suse.cz> <740b17f0-e1bb-b021-e9e1-ad6dcf5f033a@redhat.com> <20160714153120.GD12289@dhcp22.suse.cz> Cc: Mikulas Patocka , Jerome Marchand , Stanislav Kozina , linux-mm@kvack.org, linux-kernel@vger.kernel.org, dm-devel@redhat.com From: Ondrej Kozina Message-ID: <9ca3459a-8226-b870-163e-58e2bb10df74@redhat.com> Date: Thu, 14 Jul 2016 19:07:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160714153120.GD12289@dhcp22.suse.cz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 14 Jul 2016 17:07:54 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/14/2016 05:31 PM, Michal Hocko wrote: > On Thu 14-07-16 16:08:28, Ondrej Kozina wrote: > [...] >> As Mikulas pointed out, this doesn't work. The system froze as well with the >> patch above. Will try to tweak the patch with Mikulas's suggestion... > > Thank you for testing! Do you happen to have traces of the frozen > processes? Does the flusher still gets throttled because the bias it > gets is not sufficient. Or does it get throttled at a different place? > Sure. Here it is (including sysrq+t and sysrq+w output): https://okozina.fedorapeople.org/bugs/swap_on_dmcrypt/4.7.0-rc7+/1/4.7.0-rc7+.log In a directory with the log there's also a patch the kernel was compiled with. Ondra