From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751877AbeDMRf6 (ORCPT ); Fri, 13 Apr 2018 13:35:58 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:54574 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751782AbeDMRf5 (ORCPT ); Fri, 13 Apr 2018 13:35:57 -0400 Date: Fri, 13 Apr 2018 10:35:55 -0700 From: Guenter Roeck To: Vitaly Wool Cc: LKML , Andrew Morton , mawilcox@microsoft.com, asavery@chromium.org, gwendal@chromium.org Subject: Re: Crashes/hung tasks with z3pool under memory pressure Message-ID: <20180413173555.GA30587@roeck-us.net> References: <20180412215501.GA16406@roeck-us.net> 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) X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 13, 2018 at 05:21:02AM +0000, Vitaly Wool wrote: > Hi Guenter, > > > Den fre 13 apr. 2018 kl 00:01 skrev Guenter Roeck : > > > Hi all, > > > we are observing crashes with z3pool under memory pressure. The kernel > version > > used to reproduce the problem is v4.16-11827-g5d1365940a68, but the > problem was > > also seen with v4.14 based kernels. > > > just before I dig into this, could you please try reproducing the errors > you see with https://patchwork.kernel.org/patch/10210459/ applied? > As mentioned above, I tested with v4.16-11827-g5d1365940a68, which already includes this patch. $ git log --oneline v4.14..5d1365940a68 mm/z3fold.c 8a97ea546bb6 mm/z3fold.c: use gfpflags_allow_blocking 1ec6995d1290 z3fold: fix memory leak 5c9bab592f53 z3fold: limit use of stale list for allocation f144c390f905 mm: docs: fix parameter names mismatch 5d03a6613957 mm/z3fold.c: use kref to prevent page free/compact race Guenter