Message ID | 20230330184926.64209-1-kch@nvidia.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-block-owner@vger.kernel.org> 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 4E945C761A6 for <linux-block@archiver.kernel.org>; Thu, 30 Mar 2023 18:50:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231616AbjC3SuE (ORCPT <rfc822;linux-block@archiver.kernel.org>); Thu, 30 Mar 2023 14:50:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229814AbjC3SuC (ORCPT <rfc822;linux-block@vger.kernel.org>); Thu, 30 Mar 2023 14:50:02 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11hn2224.outbound.protection.outlook.com [52.100.173.224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44253CDF5 for <linux-block@vger.kernel.org>; Thu, 30 Mar 2023 11:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gO9FwSr1F16J9zQ9x4h50Sr0s8j5crm2Hg3ee9OgYAJzRub1vGXzRrzvXUHlULtidw/rArrwpfBaYLCa72N8JxoW2eyqKAmXSpp08R7ET0bXGh6IN/Vuu/wEC4qZdeVdMkiDIgOb5HeWiB1sCVl5JZl+9HtWCQdTW/3Vhe1o/GmHDAwZm1co5BlMYrNzXnUoRm6wUi7f/OiXOZpW5CaAxbQ6zuPas2QZOtHWqGd9DXdksMkUOnO7c7Cml3yZK05SAMMZDEdQcUk/aMFpkqxYu5nbkoDboktvMTgvhcu2o1KtP96HM6x6bPEsfQ8/V5lfKpXPOFJ2CboiDRbKkYzOBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qGeXClZknw5J3HvjmKeEb1ThiknHYgwdXc7JGNh/yOk=; b=PnKlfjQyS0GH0ECLoL6Ydm/CO6HlbwEb3s3NGJUWrymx02mHj28Lhx0SNH+czZQx7wizMfPE9sp+la3PE3q3pYGgmQsz7pw/nlBUEdTGMnDNc7oxfY5WmyjVxFR0corcsdWA5xWptGxFm/KiLrqTRh2cG/trtoseVCvmH/CUzX54/0vvq14kpon9aNMHhxReTbpjptIXyRTGCaNIr7pT8GLFtJZqNDr9P5D1ScHvJUJXuqTVMYAVMCBv0nFJCpG0dJHgD9owAOr9oDuIj7TVr1D/kDF0EAg3FmIhDzpZZQfPucdow3gsAV8warm8NqQD7b7vvUIQdnuIXWOFKGnH2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qGeXClZknw5J3HvjmKeEb1ThiknHYgwdXc7JGNh/yOk=; b=s9GRQvCZ4aundPuWEFG8y1F6By2lSFVt1P3Vlw5ae2ykUfI2i5/dR7OGhSWGciA5owyDhyZIIDV1bN1KZ0n4COlO+1ReL/oGvmOvNGjcLtJH2pDK0zW3xKJ8zuAZVXGCSurZ8uje8bDY3yRsW2qQtOkFEWhmolNxZv1ZqTMlfo+2Vvr7UzauUoU3uWp3x5IAzCA0CEqyxNT3mRWstMqKkCaw+kDjxIy+OI2iVXebKoDIwr8s3h3ziKVrpyWGN4oM2e824g9SrQNSXhbSE9YAVBuhnhRwhOl84eLoiXlpTjVKkthWGLKuX+iwFbDNVy41CoJqSXWD2hrJCPjEt7HNzQ== Received: from BN9PR03CA0041.namprd03.prod.outlook.com (2603:10b6:408:fb::16) by DS0PR12MB7897.namprd12.prod.outlook.com (2603:10b6:8:146::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.22; Thu, 30 Mar 2023 18:49:56 +0000 Received: from BN8NAM11FT085.eop-nam11.prod.protection.outlook.com (2603:10b6:408:fb:cafe::cf) by BN9PR03CA0041.outlook.office365.com (2603:10b6:408:fb::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.20 via Frontend Transport; Thu, 30 Mar 2023 18:49:56 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN8NAM11FT085.mail.protection.outlook.com (10.13.176.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.22 via Frontend Transport; Thu, 30 Mar 2023 18:49:56 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Thu, 30 Mar 2023 11:49:40 -0700 Received: from dev.nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Thu, 30 Mar 2023 11:49:39 -0700 From: Chaitanya Kulkarni <kch@nvidia.com> To: <linux-block@vger.kernel.org> CC: <axboe@kernel.dk>, <damien.lemoal@opensource.wdc.com>, <johannes.thumshirn@wdc.com>, <bvanassche@acm.org>, <kbusch@kernel.org>, <vincent.fu@samsung.com>, <shinichiro.kawasaki@wdc.com>, <error27@gmail.com>, Chaitanya Kulkarni <kch@nvidia.com> Subject: [PATCH V2 0/2] null_blk: usr memcpy_[to|from]_page() Date: Thu, 30 Mar 2023 11:49:24 -0700 Message-ID: <20230330184926.64209-1-kch@nvidia.com> X-Mailer: git-send-email 2.29.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT085:EE_|DS0PR12MB7897:EE_ X-MS-Office365-Filtering-Correlation-Id: 86983150-1d9e-44ab-7df5-08db314f8e47 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lZ1BsqvC30pQ+NE4zhhzccaCoQIFO9AdhrqD5HnhWxFqnAY0xf56NaIuIxSvAj8fz09EptPdnawnueQDWHFyy69OSCgtGPgTGTfxBBRUKI1ldq0/GXzWP3vRbN8drf41pbsPVaFgs2o4jIlnw2UMgwGfXyHpc5o6hKuD/j2ZixSFnCCsoTne9mLm47jYXX/ipdfDKOeRmkwF1ho2qkrAd2LehtEDmZXhFWzb+8kxrCjg7s7+fh8Jg3jwZ2+Ga2YDO3yeaUVFj845mnjTF8Z/E0u/5ogRxSCSxY2dMOMi/4Jd+12dFQDuohJhLBJkayMuYOIAbYaUaRin2ikzemEl0wabow0KRBWuaOI3/Opi72ThK5JXFkWR5phj28nxXH2r6mAvbUQquiTmm1/snvnuL4TvRNmViBDklQ33snqVlPhp04wCdaXxW39Z/xwaRNtUq5PUHG+olZhdj8I9t3sqEHXoOCq3mxiJ9P6Pvqr5IMbq1z+JbeVXMx6D+NfJWzqz9dvylUa6Z978RyWgZ7fMmWyLDObeN7H4ovWy+BiLqYS8DFfvVci/SdlqAg4G1QRvk9Bd8i5HGWapa0N6PROi8SEKhm9FEYZUtxIgbUc4jzKUCx2fsmQ7kL+Vcmecwqce1Ax6TQYSuWRc8fzrYBwA+Do55Ff101jItMTcxgiPifHeb+lexSIg8m/T1bpk6ckMjcwGZ6kkeNI1YOpjdBFtQilnzwYUTfatmclXiVQtm41FFtt+RHH3T5ZAP8xrtS4DOhIax14BDt67DzX+0e2XrvL95NJAwsiCtsG7j34O3rGhBz0NA2aS+5qOdrC/F140x709sz1y4DtseH0PuarI1FS5c2VE/Rje/DnwtOC44jM= X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230028)(4636009)(346002)(376002)(396003)(39860400002)(136003)(5400799015)(451199021)(40470700004)(36840700001)(46966006)(40480700001)(316002)(40460700003)(70206006)(34020700004)(54906003)(70586007)(36860700001)(5660300002)(82740400003)(8676002)(7636003)(186003)(356005)(8936002)(41300700001)(16526019)(6666004)(83380400001)(1076003)(426003)(336012)(47076005)(478600001)(2616005)(4326008)(6916009)(107886003)(7696005)(26005)(82310400005)(2906002)(30864003)(36756003)(12100799027);DIR:OUT;SFP:1501; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2023 18:49:56.0253 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 86983150-1d9e-44ab-7df5-08db314f8e47 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT085.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7897 Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org |
Series |
null_blk: usr memcpy_[to|from]_page()
|
expand
|
On Thu, 30 Mar 2023 11:49:24 -0700, Chaitanya Kulkarni wrote: > From :include/linux/highmem.h: > "kmap_atomic - Atomically map a page for temporary usage - Deprecated!" > > Use memcpy_from_page() since does the same job of mapping, copying, and > unmaping except it uses non deprecated kmap_local_page() and > kunmap_local(). Following are the differences between kmal_local_page() > and kmap_atomic() :- > > [...] Applied, thanks! [1/2] null_blk: use non-deprecated lib functions commit: acc3c8799b9723d0b6a8cd67f8036dfdaa280825 [2/2] null_blk: use kmap_local_page() and kunmap_local() commit: acc3c8799b9723d0b6a8cd67f8036dfdaa280825 Best regards,