From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC839C433FE for ; Mon, 7 Dec 2020 15:41:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 48CA023731 for ; Mon, 7 Dec 2020 15:41:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 48CA023731 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 884E88D0002; Mon, 7 Dec 2020 10:41:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 835918D0001; Mon, 7 Dec 2020 10:41:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 74B288D0002; Mon, 7 Dec 2020 10:41:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0066.hostedemail.com [216.40.44.66]) by kanga.kvack.org (Postfix) with ESMTP id 5DEED8D0001 for ; Mon, 7 Dec 2020 10:41:47 -0500 (EST) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 1C6DB181AEF10 for ; Mon, 7 Dec 2020 15:41:47 +0000 (UTC) X-FDA: 77566901454.09.taste61_3c0edfb273df Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin09.hostedemail.com (Postfix) with ESMTP id D3946180AD81A for ; Mon, 7 Dec 2020 15:41:46 +0000 (UTC) X-HE-Tag: taste61_3c0edfb273df X-Filterd-Recvd-Size: 3287 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Mon, 7 Dec 2020 15:41:46 +0000 (UTC) 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: X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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