Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp310562imn; Thu, 4 Aug 2022 06:56:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR758gsqoH42QEvdOxCobc2NVOq+dMB2mHh5lyllVWk7N7N7V6HHma2dM3d5q6pEH+SPHSBJ X-Received: by 2002:a17:907:75d5:b0:730:8baf:b314 with SMTP id jl21-20020a17090775d500b007308bafb314mr1493627ejc.587.1659621403736; Thu, 04 Aug 2022 06:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659621403; cv=none; d=google.com; s=arc-20160816; b=poI+sIYW42QSVA3OZyi69Bb7YtMpWvDpBYKN9VsgFb8v0SgUUcspYkKXygBxYgSlPz pHSoXLYRWrWELDxlUgrl1vgEitwRQV9jw00zAsqiHAuQ5lhEf3gaaxRbGlSLE/6PzAk0 BSWMqFTyDgdldG5vhijHt6lrCqas7T+HdaX3DFXX1JnvhOMbu1R7KZYywQXGprQxT6Y0 h9Bw+ke7kqZfZShiaUKHpHvWi7AWnAM5Z4lwiSbthCr07qetXVu/pdd1cCZ3gcH+MtXn ocunWC7cRVqte7FKp06GtuU0lkyVrkkBzahIIFzlzUysdgQAf2Yv/qXOqTYFAoBWFltC sNCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=lBvlSizrp8KIIyGaMdv1Vv63+WF/CiEWY+orbFS4pic=; b=E2rTfCMYjgSGZ4dSEC2qqwaouBjC9tG/E57Zr6GTA4waycKxlJy7AeKODkKptlwlkF XRyNSreEeZBIrJZiJVPgLIJe3VlMoN2NcLtycBxddNqSfN/4cG9kuU5DKu8ChHtVuCVm 55iwOHJ7E2aKx0RxVv97H9x7rV0zJqOi0MxmM0A6axMuGxmjBW55i42V4J/fkH+upiBV hzDqHMsZiR6ZcwxFF/JeRWCiqO91MLHaTXqMz8N+4mbXPi2+s7dmayHCcrJNYoycGfpE ZSZs3tMm0/5xaQGonTN/kUCBZ5PijnTd+PJmxT8U+9cjLepc+lykkIpa5d6zMX8jtu4I bIDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZMvfGHS2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gj6-20020a170907740600b007307f95bc5dsi759664ejc.383.2022.08.04.06.56.18; Thu, 04 Aug 2022 06:56:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZMvfGHS2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238009AbiHDNTc (ORCPT + 99 others); Thu, 4 Aug 2022 09:19:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239687AbiHDNT0 (ORCPT ); Thu, 4 Aug 2022 09:19:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A03F1EED8 for ; Thu, 4 Aug 2022 06:19:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 27A5561791 for ; Thu, 4 Aug 2022 13:19:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 678FEC433D7; Thu, 4 Aug 2022 13:19:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659619164; bh=M0SSFMxlayeE6mZzPAIICF05y2jkpLApZw26vek9YE4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ZMvfGHS22xVkhKiTJb+5h6DTHWe1QefEScOOEvNovwJCmBF1/XIAgD8qg14agOg1E hwgak0W2BzFiDo7AHru6LWmsxcVoyjdwFAh7C7hhTBkUZNaZPfNq2YZR2t4wlSUvPT g5nJorOtnozHTdU4WumucyudengNnRbVbyrQbF0Xcz3on1ko1e4UgWh6M6WUUg2XSC ogD8xbYAgtF5dQ+IbeU1NcTwg51A8n9vWsNZN9jwEVbj2aj8FsqwwLbZQMChQB8QSx V8zBgEsd0oWkPY6RLOlrFToaLyMTQxMRQmLHTRLD6jDM0Qr6vXXATscaVUfujsSMHy UYf7qK0Kvvdcw== Message-ID: <0d33f658-a678-530d-0377-1ee6af091309@kernel.org> Date: Thu, 4 Aug 2022 21:19:20 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [f2fs-dev] [PATCH v2] f2fs: handle decompress only post processing in softirq Content-Language: en-US To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Daeho Jeong References: <20220802192437.1895492-1-daeho43@gmail.com> From: Chao Yu In-Reply-To: <20220802192437.1895492-1-daeho43@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/8/3 3:24, Daeho Jeong wrote: > From: Daeho Jeong > > Now decompression is being handled in workqueue and it makes read I/O > latency non-deterministic, because of the non-deterministic scheduling > nature of workqueues. So, I made it handled in softirq context only if > possible, not in low memory devices, since this modification will > maintain decompresion related memory a little longer. > --- > v1: fixed build errors reported by kernel test robot > v2: enhanced readability and removed a redundant code > > Signed-off-by: Daeho Jeong Reviewed-by: Chao Yu Thanks,