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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A018EC43334 for ; Thu, 9 Jun 2022 10:24:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242400AbiFIKYK (ORCPT ); Thu, 9 Jun 2022 06:24:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241103AbiFIKYH (ORCPT ); Thu, 9 Jun 2022 06:24:07 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 383138020F for ; Thu, 9 Jun 2022 03:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654770243; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6a5SsgsnTuFo9sIZWQwmUlikCgiuGiGF/De3NllGDd0=; b=O1xC9fxZOMxaqC6rSRf/wp7oRubAOdtuQF660ZO5XT5/cyF74PDWeE2QN9m27mc+BMztdJ 4cTCEIEgzKecWwUfZ7+HFqcmlsf3bRPqSVsgzJFiymh+8vAQB/cUacDsI0Qr52taSElHs3 mqthmRsXI3hdg1HfHwjn9aCD07YEUwY= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-643-c3bsFLUTPLCI60hJp2zclw-1; Thu, 09 Jun 2022 06:24:02 -0400 X-MC-Unique: c3bsFLUTPLCI60hJp2zclw-1 Received: by mail-wr1-f71.google.com with SMTP id d14-20020adfa40e000000b00219b63c426bso305342wra.16 for ; Thu, 09 Jun 2022 03:24:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:organization:in-reply-to :content-transfer-encoding; bh=6a5SsgsnTuFo9sIZWQwmUlikCgiuGiGF/De3NllGDd0=; b=PBoYFL7u8tGQMMNXEvli79Z4FmyNjSREM7YE4l6XOdflkNnY3STVzuCKL0mG6G0Q6X 1dOChENu9moTabVDMCHJljFW3I+wJtUZ38D53QisMhbbNSZ7XJx1VdJOG3i7pjqhNfJY aw63jo5BJPKwb0mGGNhECNqoJ2cDSS5YtloL613RX2wWV13hooTfreTC6EqEwuepOZFT xnRiYV8J4Jt8YPYd6HHv9PQH21X9NVLI6T9L0bmTs0I7MKCCsxW3uZP5PBJb4W9Sxj/n XZ44SxUZIEAPAiiDC6ZJK7bdfNgFGzKChZl0oFQ0Iy7VNNdHjgd0D3B9SWKLgVCBzypX jQuQ== X-Gm-Message-State: AOAM532DhYSSp1h5ZAcMPau7ucmlCfnW479xOETT7EIIGgGEbjjwUm4W 7Eb6o1yMFME2sS9gWK60tAizgtuQy/oGhVtOoh8M2KmDLmoGtibEqWkEB5gTldnS7vnBH/AoVGK Gx2P8P5jC7mVLpg6xKUrGP1w= X-Received: by 2002:a1c:a301:0:b0:392:9bc5:203c with SMTP id m1-20020a1ca301000000b003929bc5203cmr2594371wme.67.1654770241336; Thu, 09 Jun 2022 03:24:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy58rh3fuuccVM2J0IS1QrE1vJ3CH41QyKYHa1IrWm/Rvain2xs2JDw35eE5SOSwtsykjkKLA== X-Received: by 2002:a1c:a301:0:b0:392:9bc5:203c with SMTP id m1-20020a1ca301000000b003929bc5203cmr2594345wme.67.1654770240948; Thu, 09 Jun 2022 03:24:00 -0700 (PDT) Received: from ?IPV6:2a09:80c0:192:0:20af:34be:985b:b6c8? ([2a09:80c0:192:0:20af:34be:985b:b6c8]) by smtp.gmail.com with ESMTPSA id t10-20020a5d460a000000b0021552eebde6sm17782568wrq.32.2022.06.09.03.23.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jun 2022 03:23:59 -0700 (PDT) Message-ID: Date: Thu, 9 Jun 2022 12:23:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v2 02/19] mm: Convert all PageMovable users to movable_operations Content-Language: en-US To: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-aio@kvack.org, linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, cluster-devel@redhat.com, linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net, ocfs2-devel@oss.oracle.com, linux-mtd@lists.infradead.org, virtualization@lists.linux-foundation.org References: <20220608150249.3033815-1-willy@infradead.org> <20220608150249.3033815-3-willy@infradead.org> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20220608150249.3033815-3-willy@infradead.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 08.06.22 17:02, Matthew Wilcox (Oracle) wrote: > These drivers are rather uncomfortably hammered into the > address_space_operations hole. They aren't filesystems and don't behave > like filesystems. They just need their own movable_operations structure, > which we can point to directly from page->mapping. > > Signed-off-by: Matthew Wilcox (Oracle) > --- > arch/powerpc/platforms/pseries/cmm.c | 60 +--------------- > drivers/misc/vmw_balloon.c | 61 +--------------- > drivers/virtio/virtio_balloon.c | 47 +----------- > include/linux/balloon_compaction.h | 6 +- > include/linux/fs.h | 2 - > include/linux/migrate.h | 26 +++++-- > include/linux/page-flags.h | 2 +- > include/uapi/linux/magic.h | 4 -- > mm/balloon_compaction.c | 10 ++- > mm/compaction.c | 29 ++++---- > mm/migrate.c | 24 +++---- > mm/util.c | 4 +- > mm/z3fold.c | 82 +++------------------ > mm/zsmalloc.c | 102 ++++++--------------------- > 14 files changed, 94 insertions(+), 365 deletions(-) You probably should have cc'ed the relevant maintainers (including me :P ). For everything except z3fold.c and zsmalloc.c, Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb