Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2483542pxu; Mon, 7 Dec 2020 07:45:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxREFK705LhzYWxLOKkTbrYjGcA5n/bF5PhP615qGnKIFomsaT0WOcG5mShIw7A/xIcgLJy X-Received: by 2002:a50:c091:: with SMTP id k17mr20385256edf.137.1607355927149; Mon, 07 Dec 2020 07:45:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607355927; cv=none; d=google.com; s=arc-20160816; b=p5XMoh+zdPko6E/zC/3Oea+IOpe+ED8+oPoebY3QQBh/EbMXCKLQNvwD/8B/L1WdiF /gzfa75CqnHfzS3boKxeugkCfkjmr+LNBIsrP11RI2fT34otL3DMRWIXQM9HMH3mcekw z0IOD3Z2BiogdFj89Yu/jp/VU8p4DpynYM6pNG+pXIuCYwOZY0PGILzvp+A1aJtIfUDb N7qJlPsH1JJhXxQj6jsyyAFDMUK0zOqxXIWSFtUEzZyPdlR8ZrldOOMyF5m6Eh1mSRcN d6ibq3q/UVbKNwi/U0ISHyKW3IimXcfr8/UaWhXDXPbatcvqSVzVt+td3SpgH4HVHzqT bPow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature :dkim-signature:date; bh=tvO4PmPM4Ab6iPOra8TFrq2ZRXT3Xi2SqmN9MvXnt28=; b=K+SdWJfWSfMJsAcSb8JNpq2asHEC4jUGBmA0HuNHGIe6RFR7+bCnvG4E1RSknUwTCX flR3okFRL6NeLqNu4Y7cRgehJOnR6bs7u6/Jm8Lw1g+ruSd0pVBiZzy9qfc1+nfxM/ku qIKofflAF12/IhoPqyBsSvMgJXfjfZK0u3Zrx3OXh2zhe04HcrjMQAYwyrGBydc2LO3Y aMHS5aG2Kq91e2dHIZ4HnbN5B2Lcjma+o+USpqWG2+vgnMMhRxyxzKFUQd8p/oz0lKf5 J1B/lrPUGBBdNDSQg/Fv9N00UYSc4+rNKqqe8KDYwUvVWPk39sFoWAJo7zIbS2pc0Qtd IN6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=pjeLAmKp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=leGJU6xV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e23si8621071edc.252.2020.12.07.07.45.03; Mon, 07 Dec 2020 07:45:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=pjeLAmKp; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=leGJU6xV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726190AbgLGPm0 (ORCPT + 99 others); Mon, 7 Dec 2020 10:42:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725804AbgLGPm0 (ORCPT ); Mon, 7 Dec 2020 10:42:26 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCA9CC0617B0; Mon, 7 Dec 2020 07:41:45 -0800 (PST) Date: Mon, 7 Dec 2020 16:41:42 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1607355704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tvO4PmPM4Ab6iPOra8TFrq2ZRXT3Xi2SqmN9MvXnt28=; b=pjeLAmKpGUur7O1GR8OWAhq53xC9AmW2OLRLKpWEl8cWoPgtzs5d4OGEYTee7WMNfic2D4 XlJKxVIODQ1nZsAhI6iYhYxHh0gyoeuuUnRypM1lcTKOKlV7UdV2eNEYcY66vJ0Ka+VIJt lYE6xNPSojrIZJzle7Sn1obm+ruAWkJR8yn3oa7ieKToU0X1E7+YxU65GnEgTigxslQGj0 J8ciuuV8dO6FOExQ5vaVn4CtpQTBnyCxbpjBRAGA/gXx3uzokt3bg3WEVvDjnKTOKKe10G DCAQ4MVz6obDaC1K4wHzMXzTrO5+xFwW55E5bN7yap2bf5jLYQcqIIJWnYWKFA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1607355704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tvO4PmPM4Ab6iPOra8TFrq2ZRXT3Xi2SqmN9MvXnt28=; b=leGJU6xVrEvuHYmiW1GAF6a4ze4XEuXc9geqMrEvhXnz89T2wA5Mj0jX9T1ehNAt0XBHTe jVIPZQ/kvGpItYAQ== From: Sebastian Andrzej Siewior To: Vitaly Wool Cc: Mike Galbraith , Oleksandr Natalenko , LKML , Linux-MM , Andrew Morton , Steven Rostedt , Thomas Gleixner , linux-rt-users@vger.kernel.org Subject: Re: scheduling while atomic in z3fold Message-ID: <20201207154142.cwxhlv7cxor424rv@linutronix.de> References: <20201202220826.5chy56mbgvrwmg3d@linutronix.de> <64ab382309c41ca5c7a601fc3efbb6d2a6e68602.camel@gmx.de> <20201203133934.37aotbdjnd36lrxv@linutronix.de> <10d5088861ba219f3f7cd657fc95b0bedc19010a.camel@gmx.de> <3ffed6172820f2e8e821e1b8817dbd0bdd693c26.camel@gmx.de> <3ec93680c6a27626b23e99d552aa778be7b2ecec.camel@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-12-07 16:21:20 [+0100], Vitaly Wool wrote: > On Mon, Dec 7, 2020 at 1:34 PM Mike Galbraith wrote: > > > > Unfortunately, that made zero difference. > > Okay, I suggest that you submit the patch that changes read_lock() to > write_lock() in __release_z3fold_page() and I'll ack it then. > I would like to rewrite the code so that write_lock is not necessary > there but I don't want to hold you back and it isn't likely that I'll > complete this today. Please with a Fixes: 4a3ac9311dac3 ("mm/z3fold.c: add inter-page compaction") tag. > Best regards, > Vitaly Sebastian