Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1251325rdb; Sat, 7 Oct 2023 21:39:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEW0PCPE1Mr4OBwrz4zwvn8Ju/CCsN/yDzB5xqbhYw5jRJgi0VJ3l3QijG5jNSwQcIicpHr X-Received: by 2002:a05:6a20:8f0b:b0:155:1710:664a with SMTP id b11-20020a056a208f0b00b001551710664amr14657344pzk.18.1696739953517; Sat, 07 Oct 2023 21:39:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696739953; cv=none; d=google.com; s=arc-20160816; b=qYSOm47ruLMlbzvY0We9Ld2pwIks8W61HCxteNdf+XBtUZB1Qm3p+EcV0hzVyRK7O7 xxUysw3OHJmo8D3Fk92RZlX+LcbLUoFayx5vuTKHDq+UPvdWNB+r5gkzPX3y9Wmyu5v7 VailAm4jfEIe1+mz6oYcMCZcYPOhvFoKTwYX/qzBBy5Z/GLZj55kSvNhgOpvlYT7L/VW ASoOLsi3gu1GKeNH0r2YLwby4vta0WeJwKqzciwdAyxWmyLFF/NicT7iqYzl2tAwupJz 1rjC98ppgRIMEy6yRbmTHn8+kPiXrJE/vhWo6rvrVqG3tRoS+gZkW/ACj3LQfg0dlZ8J om9w== 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:date:dkim-signature; bh=0IsMeRH0QRNKYNVq9/tm9ZJNkwgPtdPqq26qQy2Ffdo=; fh=qHM/HGwSb7doQQ7aP/+e16AOxBKyAcMUppSCpJwnQsM=; b=SpJqjSbkUqZp9Q26w6BW3um12ZssF3BaIdD0o71sGpA8EIVYKVAst4f3Nmr8e2hhOi Qs4Mx8SFQXTFQlipl3jr3VOB7I/U9KHO6z9gQowjDhiAgjK+0dDGotpf709Qlm22mO4R RJ9B7uzKlhtF9kjbolN9W/D6ybUNhLkpw8HXJjFowg/72yn6yjJ/qj4cIVn0aVD3QCNi wOUywuoZPce+/e/8ThrfIFy/tg6YAsexMri3UEBmFhIwWfcNHyHlA/VR1hjMsHJWVbJ6 5SaS1ic6JrnwWIVR0XYBc/urmJOOcJgkenhFHRQ+W7E788rpWtdZKKQGk1CbatQci5Mf nqTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="F9s7W/G+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id f15-20020a056a00238f00b0069100de2235si4923081pfc.187.2023.10.07.21.39.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 21:39:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="F9s7W/G+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 559D080BB1CF; Sat, 7 Oct 2023 21:39:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229441AbjJHEjE (ORCPT + 99 others); Sun, 8 Oct 2023 00:39:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjJHEjD (ORCPT ); Sun, 8 Oct 2023 00:39:03 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B78ABF for ; Sat, 7 Oct 2023 21:39:02 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1c60f1a2652so26336785ad.0 for ; Sat, 07 Oct 2023 21:39:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1696739942; x=1697344742; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0IsMeRH0QRNKYNVq9/tm9ZJNkwgPtdPqq26qQy2Ffdo=; b=F9s7W/G+sPpue8jJqBH1jFSVLuNAseaUrfet8y9O3J3WBxRqzQqo+OrgVnfaGL5ia7 BUWNRyVcqsNSKtpCe7u+tdIZznhm16FLSVXBm8g4oIxePNlBCS5y8FoxVx7U9+O7kC+X xcOfZMo4KiqCobf0w7rUY2tYiOvBJvV3lIEyg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696739942; x=1697344742; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0IsMeRH0QRNKYNVq9/tm9ZJNkwgPtdPqq26qQy2Ffdo=; b=EHvnRbIN2K0IRi7pMtj6HetO7jphlEX6X6Fsq6w7zLWzzhhDVD7k3cl8AWX98jB6GK BI2YITD0Xqf2mtK/QmVgNqL+/K/FVodRwulyPBohOhEyqbCaHgC+I5+q61EpyW7HnIM0 +FhLLpNBEVZWQdqabm2uFOazFw0NtJWKugmpsLl3pzNBJfxfa9vsrjK1WIOhngJMnxNM HOO0AMtENMfDNm816laWJ3FwKoUqh7i8bKp/blkzm0MwSD54jkhm3oT+sy2kbB51f3ae Yp6rokEwRAAvj7AZ0+Mck29mRvAxExhMc//g7qnsPFTsss8qlb7LM1YKjAytxpYu7Wqg 5+Kw== X-Gm-Message-State: AOJu0YxBwLFfx5432mDlydTiycVyrTZP0kMlakFQMLbAEDQ+W3IppV8I cMWhDxvueAjg83K3xWfbbAl6dg== X-Received: by 2002:a17:902:e84c:b0:1bc:4f04:17f4 with SMTP id t12-20020a170902e84c00b001bc4f0417f4mr12703406plg.30.1696739941503; Sat, 07 Oct 2023 21:39:01 -0700 (PDT) Received: from google.com ([2401:fa00:8f:203:5275:a34e:f50f:5f52]) by smtp.gmail.com with ESMTPSA id b1-20020a170902d50100b001bdb0483e65sm6727218plg.265.2023.10.07.21.38.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Oct 2023 21:39:00 -0700 (PDT) Date: Sun, 8 Oct 2023 13:38:55 +0900 From: Sergey Senozhatsky To: Mark-PK Tsai Cc: Minchan Kim , Sergey Senozhatsky , Jens Axboe , Matthias Brugger , AngeloGioacchino Del Regno , yj.chiang@mediatek.com, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] zram: use copy_page for full page copy Message-ID: <20231008043855.GA2738554@google.com> References: <20231007070554.8657-1-mark-pk.tsai@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231007070554.8657-1-mark-pk.tsai@mediatek.com> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sat, 07 Oct 2023 21:39:11 -0700 (PDT) X-Spam-Level: ** On (23/10/07 15:05), Mark-PK Tsai wrote: > > Some architectures, such as arm, have implemented > optimized copy_page for full page copying. > > Replace the full page memcpy with copy_page to > take advantage of the optimization. > > Signed-off-by: Mark-PK Tsai Reviewed-by: Sergey Senozhatsky