From patchwork Wed Nov 27 14:20:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitaly Wool X-Patchwork-Id: 11264169 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B85071390 for ; Wed, 27 Nov 2019 14:20:18 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7A3E32068E for ; Wed, 27 Nov 2019 14:20:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="vVu30Kdk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7A3E32068E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id ABB946B033F; Wed, 27 Nov 2019 09:20:17 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id A6C076B0494; Wed, 27 Nov 2019 09:20:17 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 981336B0495; Wed, 27 Nov 2019 09:20:17 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0104.hostedemail.com [216.40.44.104]) by kanga.kvack.org (Postfix) with ESMTP id 7E49B6B033F for ; Wed, 27 Nov 2019 09:20:17 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 3C9673AA7 for ; Wed, 27 Nov 2019 14:20:17 +0000 (UTC) X-FDA: 76202267274.08.table08_3c9fc20d14102 X-Spam-Summary: 2,0,0,618c6c7105e8428e,d41d8cd98f00b204,vitalywool@gmail.com,::linux-kernel@vger.kernel.org:akpm@linux-foundation.org,RULES_HIT:41:355:379:541:966:973:988:989:1260:1277:1311:1313:1314:1345:1437:1515:1516:1518:1534:1537:1561:1593:1594:1711:1714:1730:1747:1777:1792:2196:2199:2393:2559:2562:2897:3138:3139:3140:3141:3142:3865:3866:3871:4385:5007:6261:6653:7558:9413:10004:10400:11658:11914:12043:12291:12297:12517:12519:12683:12760:13069:13311:13357:13439:14095:14110:14394:14659:14687:14721:21080:21444:21451:21627:21666:30054,0,RBL:209.85.167.67:@gmail.com:.lbl8.mailshell.net-62.18.0.100 66.100.201.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:24,LUA_SUMMARY:none X-HE-Tag: table08_3c9fc20d14102 X-Filterd-Recvd-Size: 3146 Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by imf46.hostedemail.com (Postfix) with ESMTP for ; Wed, 27 Nov 2019 14:20:16 +0000 (UTC) Received: by mail-lf1-f67.google.com with SMTP id m30so15457856lfp.8 for ; Wed, 27 Nov 2019 06:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=wamHMBQaa4XOhsaqDdFSh25XfJO0kMdpYEg3ciRI0K8=; b=vVu30KdkT0zhpzUN8Ukh8+YTght0YZI0KH+emGcTm1Z51FzzgKoupMOPetuYGZPmhr hm5Dj2o4GeNaITiezt50OtHC/6IBJgSdJZ+TRScGAVgyq0oV3yytazLjjLQs5aM74qjJ +D7KDKCNVe/tBd4NYpx0zqY//yw8HNn0wyv1xBGbCnbaq3TsTM2HHFMC3doY69KpI/cI 6tQ5DKfq7DHLxkYGkK/yZIMQXHXSz0O4M3RJwpCoQ1QmRFJFaVNM4RNk0npLH0LWJKYi qn7J/1oGBUVOYpJoOKO0i4DcbnSRxMcDCT/UdYvOmxcjHEEIgSLZk4kJpV8jkon05gn5 HLmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=wamHMBQaa4XOhsaqDdFSh25XfJO0kMdpYEg3ciRI0K8=; b=QEdckXhwoQYt54ILwL5kf7BnS9dhSThcLmZeCzQhMageHE0Y9MDQ3tyG/zG03caGL5 9GkGOSUXqrYT3oyXjaQcSeydY1HTWXz4B8L94jdsHrzfa9Ik4zvNwHt8AFR2v9vKd+bM lkECpLN6SX6Na4X4ZzKZFA7uBIdp4R4W+03k+QdsVPm+9z9U1sjGwMVs69UsnfHgdzg0 dhdjp7qNdVdIPoEUFj4WC50HP2omBt/NaqXdho+DPTHtq8y5ClDyLlPZNGeS6Iax6GKx ZZzLS12j1QqIV0vkx6uYIqRs6/2XW/H3GfMPYNnhIuiM32dNzBY6wdfdQdlpxT5f0oGH ap7A== X-Gm-Message-State: APjAAAWJwzI/cesAYBljVhsm9LvUrNBSwkknrZZoobVluuDFaMWb/3nT kKZ9EJYhBmy5r++/MpVKNgM2C/+n X-Google-Smtp-Source: APXvYqyiAZYFPERTWujiH3a5NMZ8DA7T0CNpf3G1csYEXG+vEgi4m3JUEXIJc9dXySzHtDgL6iEnjQ== X-Received: by 2002:ac2:5549:: with SMTP id l9mr5868027lfk.53.1574864414623; Wed, 27 Nov 2019 06:20:14 -0800 (PST) Received: from seldlx21914.corpusers.net ([37.139.156.40]) by smtp.gmail.com with ESMTPSA id r20sm6521570lfi.91.2019.11.27.06.20.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Nov 2019 06:20:13 -0800 (PST) Date: Wed, 27 Nov 2019 15:20:12 +0100 From: Vitaly Wool To: , linux-kernel@vger.kernel.org Cc: Andrew Morton Subject: [PATCH 0/3] z3fold fixes for intra-page compaction Message-Id: <20191127152012.17a4b35f9e7f6e50f9aaca9c@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; x86_64-unknown-linux-gnu) Mime-Version: 1.0 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: This is a consolidation of z3fold stability fixes for the new intra-page compaction functionality. Vitaly Wool (3): z3fold: avoid subtle race when freeing slots z3fold: compact objects more accurately z3fold: protect handle reads mm/z3fold.c | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-)