Received: by 10.223.185.116 with SMTP id b49csp2389515wrg; Mon, 12 Feb 2018 08:48:37 -0800 (PST) X-Google-Smtp-Source: AH8x225lKaJ9zru9k6iA+IfJCQaGLFk9btM+2FYsyggUZ2x1C3+iYcPf6SwrzcQL/sZfAJMLMuf9 X-Received: by 10.101.99.133 with SMTP id h5mr318623pgv.381.1518454117626; Mon, 12 Feb 2018 08:48:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518454117; cv=none; d=google.com; s=arc-20160816; b=UqFJQzCzDFzrb2ziFNbbBEjTjvMtfm6GpvhglVA79HagsEpE5FVT72A0oJgzfJ4rKh py223aIbbmzokQP50zEoN1fDXd1+LPrzmsyOyQvzlP1otVP2CfVeYEGO+Das7La9GEqy /CcGq9amFurnkHYsdAGWGdLKSQCJxQvNnFDax+p0OsjI61AF7BLjvw/eh204566GJpbj YDj4bS5uk3YDdzg/xTKx4heAHsHA6SmFv57HlY9S/+LNZQhUBqqu0S/MesXMZMiEy8xY x2xP+TrhcUCdmFp0fnAuxxSFQ3I98k7ylJJl1J4dDA0u4vOkndLnSQw9NP5ItUQjhy9Y 5vVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date :arc-authentication-results; bh=hftJI/+FcPVp0sn65VgvnwEERuYAqY/kq7YqwGLxbzs=; b=ZK+9hfN8nLbvT8Y2Af5SwPM+2Qa7yZ9y/gHEg1eQjiqbpZjuoXzjN/SfRHlGJUU9vO ocMkXCzktbTFvB3wALwddrCzoZ4QrZQy5vzxLwCrbCKMfefIVL8Tfu1NCs6Wk0zyVUsO AfgbUlgxbE8VyekaBxgsqqZje3pbY/ML/HcA6UUGjDCWfRXu0zTsL96HZEJfWlqByEgs jpiGXoI/hOnfJKgkQAsQ2QRjZmstPgArtfadI1BAeQZBSj0GqlEc1WMcisRbu+lldInv RnqQqUvBauntzoBVNjaRNh/lmw0cqs/4PXmbMfZm1jUD4GFS7wPgjMNe2C/daQH2STdz /rww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 63si10017pgg.395.2018.02.12.08.48.22; Mon, 12 Feb 2018 08:48:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934192AbeBLLnZ (ORCPT + 99 others); Mon, 12 Feb 2018 06:43:25 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53290 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934061AbeBLLnW (ORCPT ); Mon, 12 Feb 2018 06:43:22 -0500 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1CBgjij086228 for ; Mon, 12 Feb 2018 06:43:22 -0500 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g377aqbyt-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 12 Feb 2018 06:43:21 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 12 Feb 2018 11:43:19 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 12 Feb 2018 11:43:14 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1CBhE7k63176834; Mon, 12 Feb 2018 11:43:14 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C3975A4057; Mon, 12 Feb 2018 11:36:34 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A4273A404D; Mon, 12 Feb 2018 11:36:33 +0000 (GMT) Received: from rapoport-lnx (unknown [9.148.8.138]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 12 Feb 2018 11:36:33 +0000 (GMT) Date: Mon, 12 Feb 2018 13:43:11 +0200 From: Mike Rapoport To: Igor Stoppa Cc: willy@infradead.org, rdunlap@infradead.org, corbet@lwn.net, keescook@chromium.org, mhocko@kernel.org, labbott@redhat.com, jglisse@redhat.com, hch@infradead.org, cl@linux.com, linux-security-module@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com Subject: Re: [PATCH 4/6] Protectable Memory References: <20180211031920.3424-1-igor.stoppa@huawei.com> <20180211031920.3424-5-igor.stoppa@huawei.com> <20180211123743.GC13931@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-TM-AS-GCONF: 00 x-cbid: 18021211-0016-0000-0000-00000521DD51 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18021211-0017-0000-0000-0000285E9FF5 Message-Id: <20180212114310.GD20737@rapoport-lnx> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-12_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802120153 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 12, 2018 at 01:26:28PM +0200, Igor Stoppa wrote: > On 11/02/18 14:37, Mike Rapoport wrote: > > On Sun, Feb 11, 2018 at 05:19:18AM +0200, Igor Stoppa wrote: > > >> + * Return: 0 if the object does not belong to pmalloc, 1 if it belongs to > >> + * pmalloc, -1 if it partially overlaps pmalloc meory, but incorectly. > > > > typo: ^ memory > > thanks :-( > > [...] > > >> +/** > >> + * When the sysfs is ready to receive registrations, connect all the > >> + * pools previously created. Also enable further pools to be connected > >> + * right away. > >> + */ > > > > This does not seem as kernel-doc comment. Please either remove the second * > > from the opening comment mark or reformat the comment. > > For this too, I thought I had caught them all, but I was wrong ... > > I didn't find any mention of automated checking for comments. > Is there such tool? I don't know if there is a tool. I couldn't find anything in scripts, maybe somebody have such tool out of tree. For now, I've added mm-api.rst that includes all mm .c files and run 'make htmldocs' which spits plenty of warnings and errors. > -- > thanks, igor > -- Sincerely yours, Mike.