From patchwork Tue Jun 15 20:02:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthew Wilcox (Oracle)" X-Patchwork-Id: 12322799 Return-Path: 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=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 0EC82C48BE5 for ; Tue, 15 Jun 2021 20:03:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id ACBC061246 for ; Tue, 15 Jun 2021 20:03:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ACBC061246 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 51D056B006E; Tue, 15 Jun 2021 16:03:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4D86A6B0070; Tue, 15 Jun 2021 16:03:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 395006B0071; Tue, 15 Jun 2021 16:03:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0085.hostedemail.com [216.40.44.85]) by kanga.kvack.org (Postfix) with ESMTP id 05FBF6B006E for ; Tue, 15 Jun 2021 16:03:34 -0400 (EDT) Received: from smtpin36.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 8C81F180AD806 for ; Tue, 15 Jun 2021 20:03:34 +0000 (UTC) X-FDA: 78257033148.36.83ED04A Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf20.hostedemail.com (Postfix) with ESMTP id 943A4554 for ; Tue, 15 Jun 2021 20:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=0+mQ8s7h6R8v84qiFQbhUBHtD7Ib1P92OwZ72Iiafv8=; b=HkagqO/wqfq1QsCnM/lIs7LORL BXDFNqAO0cpBB6uS5J8f/vM0ImaK/6k7k/Fk0tdEf8twSXN7KzY0tfy/E823eSwqS13/IFdo7zzSA 83Go3Vo9SqUUdzz1XbG2BEbqBVoXbNonS6VHjK90kqDDdS9cTa+r7DD7DlOxJ1qikORRUAHCspj2V T/I1H0BCwCUP68Mutgi2f85gMyQ+hILV/cHaF1blHMDjtGlBKI2mFILhYPXq3AuP+lWSWYe7Lm3am qlocUPUn6MmNunbIKmHtz+mXmRWlrNr24hPgDcKr+4fSH0aGRjx1DTTbHU59QdBv5RRlWClU6Q4Z6 8gg62MjA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltFH1-007Ca7-54; Tue, 15 Jun 2021 20:03:08 +0000 From: "Matthew Wilcox (Oracle)" To: akpm@linux-foundation.org Cc: "Matthew Wilcox (Oracle)" , linux-mm@kvack.org Subject: [PATCH 1/5] mm writeback,cgroup: Fix documentation Date: Tue, 15 Jun 2021 21:02:38 +0100 Message-Id: <20210615200242.1716568-2-willy@infradead.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210615200242.1716568-1-willy@infradead.org> References: <20210615200242.1716568-1-willy@infradead.org> MIME-Version: 1.0 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 943A4554 X-Stat-Signature: hwyo5awzrfnkpxd863fkd4pha4er6zd3 Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b="HkagqO/w"; dmarc=none; spf=none (imf20.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org X-HE-Tag: 1623787401-538857 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: This is a static function, so it doesn't need kernel-doc. Also remove the inaccurate comment about the locking. Signed-off-by: Matthew Wilcox (Oracle) --- mm/backing-dev.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mm/backing-dev.c b/mm/backing-dev.c index 52eaeee40da3..271f2ca862c8 100644 --- a/mm/backing-dev.c +++ b/mm/backing-dev.c @@ -645,15 +645,12 @@ static void cgwb_bdi_unregister(struct backing_dev_info *bdi) mutex_unlock(&bdi->cgwb_release_mutex); } -/** - * cleanup_offline_cgwbs - try to release dying cgwbs +/* + * cleanup_offline_cgwbs_workfn - try to release dying cgwbs * * Try to release dying cgwbs by switching attached inodes to the nearest * living ancestor's writeback. Processed wbs are placed at the end * of the list to guarantee the forward progress. - * - * Should be called with the acquired cgwb_lock lock, which might - * be released and re-acquired in the process. */ static void cleanup_offline_cgwbs_workfn(struct work_struct *work) {