Message ID | 20180914130512.10394-1-aryabinin@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DAEA214BD for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 13:05:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C50A12AEA6 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 13:05:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8B332B035; Fri, 14 Sep 2018 13:05:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08CAD2AEA6 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 13:05:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E3E028E0005; Fri, 14 Sep 2018 09:05:05 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id DC6178E0001; Fri, 14 Sep 2018 09:05:05 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C909A8E0005; Fri, 14 Sep 2018 09:05:05 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by kanga.kvack.org (Postfix) with ESMTP id 671B98E0001 for <linux-mm@kvack.org>; Fri, 14 Sep 2018 09:05:05 -0400 (EDT) Received: by mail-wm1-f71.google.com with SMTP id o25-v6so96923wmh.1 for <linux-mm@kvack.org>; Fri, 14 Sep 2018 06:05:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:mime-version:spamdiagnosticoutput:spamdiagnosticmetadata; bh=dGWIsdMYSRMGAa6McwfrhtqK3K80zd7CYPsxJRYuGVY=; b=b+h8bGD3gXo8DPFGSK4cju+rPaFyS2IPTDIxsHtEw4YdwcPFHyfTMyWHDmqEQYvtXh ePUYc4ck8fcGlNKpdYCMDbMwea6kim4q+vrNkZ+ow+i0Ol3SynqeIw4aAJAouU4EiQ2U 03Cqe98q16edBI4s4jmo4Hd24IEcAqzyE2BC4RwawkcTRG1GQOwrlT87wzkQ2aQKgTV3 Yj7REKQ+ukORsBGoebrtSCfKSLkSMlCJVDCSlktVZohIU3Zba6R1ayCWzuF9FrinmZq1 CrofyFkewCg3nOR4pI7Z0lFWyRXB0A4wzqkQS3A60ajA1by5uBZOMk8WPulhQViwUcSu exoA== X-Gm-Message-State: APzg51CXySlynjaA8C/TnqGZW/echzTBb+78Q1uIWZ4z07D2ZPon6VV/ C0He6fSKJ1YlKxq7E9T+0vcBS6xgbhwRXCi9kuuU12+AjfYIkl6a64+g10MXGaO+yQA9MlOUFRd WsF17JLOel56jGAE17vGxWEoJIySRotugcrCSk7It4RAWdqe0spMang2DVx8IWDLNCw== X-Received: by 2002:a1c:7015:: with SMTP id l21-v6mr2241390wmc.81.1536930304888; Fri, 14 Sep 2018 06:05:04 -0700 (PDT) X-Google-Smtp-Source: ANB0VdamF7iQ1gxnt/iCVzJcRIhVuZt2oLXTbJZoYqf+5pQ2fMLBshr9BNvohSg/KyluLyqKVU6G X-Received: by 2002:a1c:7015:: with SMTP id l21-v6mr2241318wmc.81.1536930304106; Fri, 14 Sep 2018 06:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536930304; cv=none; d=google.com; s=arc-20160816; b=P+O0qSKyjkATeZTWKUv2PzBpa3AH3vKnZjsQ7sTOfxHeBPEtDqk0f8+zwPm7F3cH8a FFI4gJZcfHDbDd0rHtVdF5tP5gqgQXdIUFlNYR/YDYy0cT6zRfbVOKHhMEZTdaYQNZZR n0baEC3hQa3J/OLxvQuMrQTa9EwYNhapqFantz/gGBj+IJQomxCHAYWThGCjOHND+/F8 1yHjUZqGEbOL8CtUz1P9dYCP7p1O+QdFTlzOFu44uREL5FFiGrSg52tXMiDrzwxv3WzV QuaNWCd1AXwYPapcGpm+CLq48GIXO7TsQyBKaTNxQtNjDoHFBlgsBefNQ7z9oJnGETnm Oaqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=spamdiagnosticmetadata:spamdiagnosticoutput:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=dGWIsdMYSRMGAa6McwfrhtqK3K80zd7CYPsxJRYuGVY=; b=J834SEA5uaI0Jfrb85+4cEB5jYlRRwrfc+AZqyM8micszvcmny+qfu+bYu5fyMAt/p n5I0EJeWj0DzB+R5X+Ikr9pLtwxG1Bd748L7Z6qEFoa9xI4zU3sT8nPaTI15p7G1CMQv h5asso00pAtOoktAMwBuqOzxL+F+4HIZAFuyEy972vmDG7C4P+xX3f3KgUKWEIoaIhwT 6goQSKKATHpkwmvf6DI16gnPtpYskxghOkKHjD2JSndjg0ky9WdtLD0tlVT3OyRbtyVJ bm9htF1IEMgy1VNmSQiALmHBGwbX3TmaA7pDmyHv/ZuuCRRPWMZV0pw1lh2m+kCwh3iP chdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=TFEkchhF; spf=pass (google.com: domain of aryabinin@virtuozzo.com designates 40.107.5.91 as permitted sender) smtp.mailfrom=aryabinin@virtuozzo.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50091.outbound.protection.outlook.com. [40.107.5.91]) by mx.google.com with ESMTPS id w12-v6si4695304wrl.27.2018.09.14.06.05.03 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Sep 2018 06:05:04 -0700 (PDT) Received-SPF: pass (google.com: domain of aryabinin@virtuozzo.com designates 40.107.5.91 as permitted sender) client-ip=40.107.5.91; Authentication-Results: mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=TFEkchhF; spf=pass (google.com: domain of aryabinin@virtuozzo.com designates 40.107.5.91 as permitted sender) smtp.mailfrom=aryabinin@virtuozzo.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=virtuozzo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dGWIsdMYSRMGAa6McwfrhtqK3K80zd7CYPsxJRYuGVY=; b=TFEkchhF6x/0IjbM3mSEh+dHsmbb+LkggoC9+Hs/LmIlbYKc/G6VED0dC6oE9TE3l9p04qnMBZcG9S0aJzzUHvGT/d+IwoZpNLr6jgE9YYqx++QLaHaKzqYn5tbLfD9KQGdujGww3r5FBJ/5NGCdM9EdQy8kVvExwdF/FVQhbKs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aryabinin@virtuozzo.com; Received: from i7.sw.ru (185.231.240.5) by VI1PR08MB3261.eurprd08.prod.outlook.com (2603:10a6:803:3d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.16; Fri, 14 Sep 2018 13:05:02 +0000 From: Andrey Ryabinin <aryabinin@virtuozzo.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: Matthew Wilcox <willy@infradead.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Ryabinin <aryabinin@virtuozzo.com> Subject: [PATCH 1/3] kvfree(): Fix misleading comment. Date: Fri, 14 Sep 2018 16:05:10 +0300 Message-Id: <20180914130512.10394-1-aryabinin@virtuozzo.com> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: VI1P189CA0010.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::23) To VI1PR08MB3261.eurprd08.prod.outlook.com (2603:10a6:803:3d::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4fecbcbb-020b-4764-56c5-08d61a42aee8 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:VI1PR08MB3261; X-Microsoft-Exchange-Diagnostics: 1;VI1PR08MB3261;3:0byODzHccb4EAAuQ1SDZ/BCymPA13IjEFyAjqx3jGPP4OdaE3Yo2P2zWMuXYywbe1CCHIbMtqH5yyyGvUu1REHUIYAy4qi+TSiVBqMT32pbrNARVTe55uoKwnKdYRpXdaiJuITjyh8jhosj0nJ1yzIxqg7nnc5XRiJBxBpNz0nKIVldRgnWLrqZoxQR/9FDYps9nTgD7N9RnsKAXmEABOxuPzRCnhllCBxKKhAmUEULEkXMwZ9LSiOyTDVu8++W8;25:NBvljTs6Z2rJj60URvXHuB3Tzc67HLu1kNeCB5pPaVV9DRo6opmwNmfSCRnNJk0kk0AWjaKuhwpSXjGC82JgyJSIZthC4jqyeN40hz+GS2gsk47SEs26FomoQzTUasq+hJEbuzU1JS3oWT+T98WrwVuTjUk04CCncM6tTDtvkl5v/VTidvZXtraLgdVG253MXHFcqlvgko3gf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0h0OCovLIc/+TnJSIkFRE0WXk4QRVucmYW+xk7aMWwYiOBVUSW9LAww86Puf3YZT3rtdPilHfNxYCOz1RAxtHH55dAvFgk6AieAntlIA9acFbyuFjqMdIlUyF4C+t+I0MJVgz5IDMOBwLByFtrSKDUhV0EuzZ6vr4E5mQwuHtA8+vKZAFPg== X-Microsoft-Antispam-PRVS: <VI1PR08MB326169FA715CB4AA17F2408CB0190@VI1PR08MB3261.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231311)(944501410)(52105095)(93006095)(93001095)(3002001)(149027)(150027)(6041310)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(201708071742011)(7699050);SRVR:VI1PR08MB3261;BCL:0;PCL:0;RULEID:;SRVR:VI1PR08MB3261; X-Forefront-PRVS: 07954CC105 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(346002)(376002)(136003)(39840400004)(396003)(366004)(199004)(189003)(107886003)(52116002)(51416003)(66066001)(478600001)(14444005)(81156014)(7736002)(305945005)(25786009)(105586002)(50466002)(5660300001)(106356001)(53416004)(6666003)(81166006)(6916009)(2906002)(53936002)(6486002)(8936002)(50226002)(386003)(956004)(1076002)(3846002)(6116002)(16526019)(4326008)(2616005)(476003)(36756003)(48376002)(16586007)(6512007)(6506007)(186003)(486006)(97736004)(86362001)(68736007)(8676002)(316002)(47776003)(54906003)(26005);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR08MB3261;H:i7.sw.ru;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;VI1PR08MB3261;23:NfUYbdX7j4gCFCVTtRVVoU/xT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mIsLGdTCdlo5L68g9QdhiTxxvA+Fp7YUQO7COfzX1AMBseL01ZTShNvNIG57VrAjRuHauGTQBrZ/Dy0dmoabwAPD0gEZd2Hq6EyCXR/+2svc3s=;7:TmgikvZfPe7ma8+6b9qjBJuQ036tuaAnOdsy1goPg8sre8n+x1Ik5qqyTavSCdyouLquVtzXyrX5eSxqc9XoI+by/icqrxeV7H/3tdMm0Jzzlmv1fo4+re3kev1GZjlwwKLPG5CVShumFIz/2BUXwN+eeTHiQ/CtB6Oqd8KU2vqs1yYXCPR8x/kYlNdj/YXfYLKy+P7IgjgWxb3KQpcDyu6xnmlzqHihN27sfbc+ezDflFHMPRl31jW9ctLAQb/9 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;VI1PR08MB3261;20:sNt8s2XWDxx4f+cf/hlQcmHWGshyTLsKbK8CiAkMVWXH7dOcMVS8JPZSrimox/Gw7km+vnKqRSPhmuX+4wAe20Eil0pOFaKRcioKObJ1ytbQuEbDYUKoiu2twVTkkzzPyIQPHLESKUJdrI+P+bsGqgKRjpMAmpSz2Vw8Us5W0js= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 13:05:02.0067 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4fecbcbb-020b-4764-56c5-08d61a42aee8 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3261 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> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[1/3] kvfree(): Fix misleading comment.
|
expand
|
diff --git a/mm/util.c b/mm/util.c index eeac38a64290..7f1f165f46af 100644 --- a/mm/util.c +++ b/mm/util.c @@ -442,7 +442,7 @@ EXPORT_SYMBOL(kvmalloc_node); * It is slightly more efficient to use kfree() or vfree() if you are certain * that you know which one to use. * - * Context: Any context except NMI. + * Context: Either preemptible task context or not-NMI interrupt. */ void kvfree(const void *addr) {
vfree() might sleep if called not in interrupt context. So does kvfree() too. Fix misleading kvfree()'s comment about allowed context. Fixes: 04b8e946075d ("mm/util.c: improve kvfree() kerneldoc") Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> --- mm/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)