Message ID | 20210908005241.28062-1-jaewon31.kim@samsung.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=DBvG=N6=kvack.org=owner-linux-mm@kernel.org> 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=-19.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=unavailable 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 1ABB2C433F5 for <linux-mm@archiver.kernel.org>; Wed, 8 Sep 2021 00:52:25 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 990A961157 for <linux-mm@archiver.kernel.org>; Wed, 8 Sep 2021 00:52:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 990A961157 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id E8CFB900002; Tue, 7 Sep 2021 20:52:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E3A1D6B0071; Tue, 7 Sep 2021 20:52:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CDB64900002; Tue, 7 Sep 2021 20:52:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0108.hostedemail.com [216.40.44.108]) by kanga.kvack.org (Postfix) with ESMTP id BDD416B006C for <linux-mm@kvack.org>; Tue, 7 Sep 2021 20:52:23 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 705E31820128F for <linux-mm@kvack.org>; Wed, 8 Sep 2021 00:52:23 +0000 (UTC) X-FDA: 78562580166.15.5FC10D4 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by imf23.hostedemail.com (Postfix) with ESMTP id 45F6490000A0 for <linux-mm@kvack.org>; Wed, 8 Sep 2021 00:52:22 +0000 (UTC) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20210908005219epoutp02bb680b79e969dd779f47d8b17623e682~iso5KoS9t1959819598epoutp02f for <linux-mm@kvack.org>; Wed, 8 Sep 2021 00:52:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20210908005219epoutp02bb680b79e969dd779f47d8b17623e682~iso5KoS9t1959819598epoutp02f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1631062339; bh=h1xgIL9sEU5cIOMNug/NaL9+VZxdcy24/62ZSvoPVLE=; h=From:To:Cc:Subject:Date:References:From; b=KJlNpY6dvXzHn+8kviZAY1Gu5ezKIVjgdLQfP7gg/miu2HiiJxOxVrwXp9lMD/mDo VVE+v8HSdLsQ+pIcJN3PWh2syjTg8yifKdlX1z1bcuVCpsNnVzQQq2iiIBlSG1/iEB IOSWHl3PaIkvTQ7b1k1Qzd67fbOjYtckKIUff//I= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20210908005218epcas1p2756c28d3e58c8bf5ff1e43abd0001f0e~iso4qdMtR1557115571epcas1p2v; Wed, 8 Sep 2021 00:52:18 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.38.241]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4H43WM39kkz4x9QJ; Wed, 8 Sep 2021 00:52:15 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id BD.32.09752.C3908316; Wed, 8 Sep 2021 09:52:12 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20210908005211epcas1p49238a827ca0c829bb056ba57c995e750~isoySS2h50622606226epcas1p4P; Wed, 8 Sep 2021 00:52:11 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210908005211epsmtrp130ade4a50e0701fad2571a0c1d6c75ee~isoyRg9LP0707907079epsmtrp1X; Wed, 8 Sep 2021 00:52:11 +0000 (GMT) X-AuditID: b6c32a39-6a7ff70000002618-42-6138093c3099 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id BD.A6.09091.B3908316; Wed, 8 Sep 2021 09:52:11 +0900 (KST) Received: from jaewon-linux.10.32.193.11 (unknown [10.253.100.104]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210908005211epsmtip28f96c42c2cf46e190ee10d7eff25b925~isoyAnLoh1599515995epsmtip26; Wed, 8 Sep 2021 00:52:11 +0000 (GMT) From: Jaewon Kim <jaewon31.kim@samsung.com> To: minchan@kernel.org, hch@infradead.org, akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, ytk.lee@samsung.com, jaewon31.kim@gmail.com, Jaewon Kim <jaewon31.kim@samsung.com> Subject: [PATCH v2] zram_drv: allow reclaim on bio_alloc Date: Wed, 8 Sep 2021 09:52:41 +0900 Message-Id: <20210908005241.28062-1-jaewon31.kim@samsung.com> X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrLKsWRmVeSWpSXmKPExs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yHOy5ezH+ewiQhlx3Ltf3Ptv31fPduzV qXLDlGu5Qrf9mVS4f/ZNPH2j+HPyWyOH5467DYN5NF4zWIts+rjPgvX+jIVsSizFGYmGWsxF xYkA4orVdPADAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmluLIzCtJLcpLzFFi42LZdlhJXtea0yLR4NgXbYs569ewWZyesIjJ onvzTEaL3vevmCwu75rDZnFvzX9Wi2Vf37NbPF7P7cDhsXPWXXaPzSu0PDat6mTz2PRpErvH iRm/WTz6tqxi9Pi8SS6APYrLJiU1J7MstUjfLoErY0nDC5aCbewVc2btY2lgnMXWxcjJISFg IvGq5xKQzcUhJLCbUWLCzX+sEAkZiTfnn7J0MXIA2cIShw8XQ9R8Y5R4MX0pWDObgLbE+wWT WEFqRAQ8JL53MILUMAtMYJRYuewTC0iNsICFxPLjf5hAbBYBVYmzz2aA2bwCthKn7m9nh9gl L7F6wwHmCYw8CxgZVjFKphYU56bnFhsWGOallusVJ+YWl+al6yXn525iBIeXluYOxu2rPugd YmTiYDzEKMHBrCTC+9fcLFGINyWxsiq1KD++qDQntfgQozQHi5I474Wuk/FCAumJJanZqakF qUUwWSYOTqkGpp3iIqsehvjPP6T7tXKS6UvJHXFF6vc+77303TPqLLOoopTFF72ezSZruTu+ N75RC2M7bRodceWm+Kks54nqJv6vDZNvz93Dz3vsnINNpKDQMhcbn6uylVw3bjt87uX/f5J5 huu/W71eVjsM510um3Lsh9n8tUlzvpybzZRgdcQzyOp81gLh6A1/FA5qzCw94O79+fei4sMl 3DXuCQ4Tz4ncuu+9jzX+wbLjtdIVz65r6vovEf3wQmzPxomTo/7xbZwZueJLn9G7bxaSjjud 9W7crPlasmZvQM/Tv5Nm7pL9FaXyo9WkgSOhbdrODpUtfG/9m2ZULtkj16kcvr04c9fb9Xdb rqndfTTrzelzJVFKLMUZiYZazEXFiQCgafqongIAAA== X-CMS-MailID: 20210908005211epcas1p49238a827ca0c829bb056ba57c995e750 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20210908005211epcas1p49238a827ca0c829bb056ba57c995e750 References: <CGME20210908005211epcas1p49238a827ca0c829bb056ba57c995e750@epcas1p4.samsung.com> Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=samsung.com header.s=mail20170921 header.b=KJlNpY6d; dmarc=pass (policy=none) header.from=samsung.com; spf=pass (imf23.hostedemail.com: domain of jaewon31.kim@samsung.com designates 203.254.224.25 as permitted sender) smtp.mailfrom=jaewon31.kim@samsung.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 45F6490000A0 X-Stat-Signature: aitwswxfm89fa79cxou5yomjhxaofnkf X-HE-Tag: 1631062342-121644 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: <linux-mm.kvack.org> |
Series |
[v2] zram_drv: allow reclaim on bio_alloc
|
expand
|
diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index fcaf2750f68f..081e77d595d7 100644 --- a/drivers/block/zram/zram_drv.c +++ b/drivers/block/zram/zram_drv.c @@ -587,7 +587,7 @@ static int read_from_bdev_async(struct zram *zram, struct bio_vec *bvec, { struct bio *bio; - bio = bio_alloc(GFP_ATOMIC, 1); + bio = bio_alloc(GFP_NOIO, 1); if (!bio) return -ENOMEM;