Message ID | 20180914130512.10394-2-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 120A06CB for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 13:05:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F078C2AE30 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 13:05:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E42732AEA6; Fri, 14 Sep 2018 13:05:10 +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 B800E2AE30 for <patchwork-linux-mm@patchwork.kernel.org>; Fri, 14 Sep 2018 13:05:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 340F38E0004; Fri, 14 Sep 2018 09:05:06 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 2C9028E0001; Fri, 14 Sep 2018 09:05:06 -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 0D4698E0006; 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-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by kanga.kvack.org (Postfix) with ESMTP id 8D9318E0004 for <linux-mm@kvack.org>; Fri, 14 Sep 2018 09:05:05 -0400 (EDT) Received: by mail-wr1-f71.google.com with SMTP id g36-v6so10036361wrd.9 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:in-reply-to:references:mime-version:spamdiagnosticoutput :spamdiagnosticmetadata; bh=esdq8XAOwg27qWK39vEEqTDErGne7rDq6+xWhuz0ZKw=; b=lzUP9il+zTYo60az8qpzqyoEIVEUw0e+rejs4B/C4/BAUA+x5rlUDbiRhaCBzKlJzx uvcYipv6oNwNt+OiDivnKRWA4TwY8YzEDgUEjFuBn4jjRCDBHESH7G1QDlqVl5vVTHr9 8TTEI0y7IlmWsh5+02znbzY5Cze23HpWdqwOwS/jNdEXCkJb9Mu8Bb1ewmzGmXoi8WOs vmM9TlIhxNjxRR8hf04Slqa1Dh4EIemcCxxs3pTtMGS7gXcAmgseDayQUQpQIpXzVHq2 oYogGK/4huPjg+PXbY2C+p17i0asv8fy143VcMerbwQnF148ZflELkmsLwTKd+xilmIf xScg== X-Gm-Message-State: APzg51DWA4FwZPMejF9McI8M0Fri5dB3J2QebexQl2205Pk+Kse1u/xc tQrvyjWjajMw0vTTqgSjq0haxLPwg8RzbJ5ripMPCOqdqphjLEIhMiszaziiBOoPx4s9TBwfy7n mvaQ9PNS/yImxBp1OP1Y1IcRXcQiwKQJsjj7k2iY2yIYtxgLvvRn+BfeeOkRlYGUDpw== X-Received: by 2002:a1c:e289:: with SMTP id z131-v6mr2307192wmg.32.1536930305033; Fri, 14 Sep 2018 06:05:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbdII+aoEzzKhjER5w3K+tziEExgTnYfkS5bfyO3swIaeW473dHGkye7c2ypen14j1U0EPX X-Received: by 2002:a1c:e289:: with SMTP id z131-v6mr2307119wmg.32.1536930304212; 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=FPlrf7XBIsjPQPbnAgJwwkeUArPWjjrnH15Tk2npL3KqKUpKIGSejIoUC8MvWzTv9Z 10+m3XSAHRF5nqwh97OWMFBmmyKpybgsFKcLDesrNNCwp9bbUBkw8PaTCCj9fJGKahhT 5GDssFOb1uVocpACY2kVX24gz/mMp68LJzkmbXB5C3I2vUqZxUjG3f7Ub6eZbfyWR0gJ On/YStBpq3pYIkkpvywpf/yAX0xeYWVYSs3+Z2U0sBL8rZw/JxYMcVQh5UysufsOc9R4 zeOFeUB7pCvSTipjKoewtLOoroNFJcgfzUu4bhC1jBpR+q974APZC41uz+UnB9F1Pz7Y Bktg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=spamdiagnosticmetadata:spamdiagnosticoutput:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=esdq8XAOwg27qWK39vEEqTDErGne7rDq6+xWhuz0ZKw=; b=HkaIDPcX5hXxmq2y3r7c9GOiIOeqMofhj6la2xyTDyWex51htpp5byRVEqEmzTlHbF d2mvvc66VgVjtiaNIAnv5gupIq5iz1mHNVKPPu4WbFC8YPANebeiiXjsqz79ZWeukjpt 89oqvcYmmeN6tMZPON/Vbntgl4C1L48/+m7/ma0U0RnBye1GK8jwztmlu89T3q/QAMw6 SS/YXfZ+V4rtQOjTsFRoi/uUQwoTK3OdtFUguNN/g2S+eZPfmftqPyQaA+n8AFFq3XeE S5EbjyhbAAQMKPpXwz7ZlSg8au63i54q/0ctyUOyZsqX/0NcVUWM9tAFZ3R16Rd7kcID tX+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector1 header.b=bB8APbxk; 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.04 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=bB8APbxk; 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=esdq8XAOwg27qWK39vEEqTDErGne7rDq6+xWhuz0ZKw=; b=bB8APbxkX/lm7rvajOJNdUeQiY+0TRDxU/s0iTT+PqwUON25jGq+EbMIKjU6SYJ+z/p6miLgyANVDFSQKfpTP48FCx9TuTYldEbl1vT9uARBHQoLAL1TnerpozMvI5ERF5KU8rX508iqm56UMxN1fC6ADLJrSqW5+S6DHszbhDI= 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 2/3] mm/vmalloc: Improve vfree() kerneldoc Date: Fri, 14 Sep 2018 16:05:11 +0300 Message-Id: <20180914130512.10394-2-aryabinin@virtuozzo.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180914130512.10394-1-aryabinin@virtuozzo.com> References: <20180914130512.10394-1-aryabinin@virtuozzo.com> 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: 57b6de67-348e-4a16-6586-08d61a42af58 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:UVSM/G5j3vJfrQZz8Yl6y/GQ2zuQ/wMzdY200wmDRaRO2zmg7xyfW5cEjZ2utyKIEHOZipD+ddbf9LvoMiJ5UbniqT85QHkNP0j8N8NsMmE1fmj8ZTopV0vctRgt817mHSG5W8Nuay1bgrGXZTg6Aub1FKFh2OXKushyNG7zqeyNiyFMpJDr98A0JNrkVTgpCCyvZQE2R/xpyO1+R/MLiv95e/ceMJ/HeBXmM8nOhmG2T652wSCUd6leK0nH6iwZ;25:rFsnlOHYUyXp1M1W9N5iCvKYXgJED1ZasqsLn72l9Gn2vIxeajAAMTuOISFsrABL1tS40noz0p80p0qf60dsja7cwa5ihxTJbcmSu2PF/WTXvxFQ5/baSUxEvFUQwXMdvHhj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YUjesVh4df9wj1hU00MiGVakaC5MbfJ7HLXJtYpu6zFZAZ5jyQwZYcXxRe9xebh74UTr3g4EutdIfTOAa8mLuBSDICjofLZ108TuWTiYncbhPGITD8QMt5yCh0ijUHUAF/S/EGUVIkZVhjNv0iSIJGfeiNd92q38eD7uDRELQm0LvMa5l09O/dqIDYQSz2JklUulMW/OJJ7tr29yapPgSQIaqHIraAlTtr6F9aSdeDA== X-Microsoft-Antispam-PRVS: <VI1PR08MB3261389DEB99F13105490BE4B0190@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)(76176011)(478600001)(81156014)(7736002)(305945005)(25786009)(105586002)(50466002)(5660300001)(106356001)(53416004)(6666003)(81166006)(6916009)(2906002)(53936002)(6486002)(8936002)(50226002)(386003)(956004)(1076002)(3846002)(6116002)(446003)(16526019)(4326008)(2616005)(476003)(11346002)(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-Microso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bmidxg0EvzIVz0BMTE9E1scqiBhleiryq6490egIHeJoGA==;5:tEVo4+iYk1i4/y28m4ERyK0z+9ms9xqkUM0Bx2VHeP/0bWVeolsHX0yf8MQyHdx055rP1YwE45iDxdf8C0mRDyQSzBlPCATOShtWQ9SVXbZLlgZROAaWhGL+UVve4n4nxPU/9dPGbNlxphKpW6r76e7QeAtqAOR3tPsqprfQoUY=;7:8YfNg0ID3umqD+FJB7K9PhgB/TVE9gz5VqlU2uYLZ3BiEuZTWmgTcNXBjrhyEJa9wDYiZ+t+02e1YIi7leHIasOjJlT/Nty1YOfMi21poWnqHl5eM3mwXhpYzrCHjxR1N2uCJAtMjv5pCoDP5aXX7rQT1WixK9CAlTfe06YUMa6uEY35POtswVtzI/PP+Jfyxkyzdi5cXrZ4GdQ4Y0ItI80jczg+Rk4xlNpjbBkahE9LUl5jGgisqLN6JXSoTU+h SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;VI1PR08MB3261;20:DYK9fG+Ss+LyCJb4lo27nEOqnyRT/Ulk3OT2dUY3ex+GEAYnGZziONX4h/cY1Ne/OnZPiDtmiUvKVZ+QDXrWMoyAF7jZUFlEaWbfeZcXRteyegJCTrn1rbnQlMOeTfo53HTIsndKpfNo0455NQdmm51pZn0zkAeI4qYCZH2hNT4= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2018 13:05:02.7411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 57b6de67-348e-4a16-6586-08d61a42af58 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/vmalloc.c b/mm/vmalloc.c index a728fc492557..d00d42d6bf79 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -1577,6 +1577,8 @@ void vfree_atomic(const void *addr) * have CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG, but making the calling * conventions for vfree() arch-depenedent would be a really bad idea) * + * May sleep if called *not* from interrupt context. + * * NOTE: assumes that the object at @addr has a size >= sizeof(llist_node) */ void vfree(const void *addr)
vfree() might sleep if called not in interrupt context. Explain that in the comment. Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com> --- mm/vmalloc.c | 2 ++ 1 file changed, 2 insertions(+)