Received: by 10.192.165.156 with SMTP id m28csp765361imm; Fri, 13 Apr 2018 07:28:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/1R+vppinNBx+udGqSr4rceOIqyLLw4lgxaa2pBpNSirqI9cAsyqGAo42petZvYNg3/zrj X-Received: by 10.99.98.2 with SMTP id w2mr4305273pgb.409.1523629735376; Fri, 13 Apr 2018 07:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523629735; cv=none; d=google.com; s=arc-20160816; b=c7IAuV2cQnGzKcvLo0InpfP67imDHlZb5TBKwJk8CjIro88smrhUKkKGPBVTAK+oU1 Xg5ufSiTvI5zGVWX2sbo8hCQutmJflpLf7C5H8zLznQgd2zFTrz74EUEvBHyxN3KSbwv JY6YxDzPJLWj6lNu7J6E06IRjClXSxzAV8Tu9CjbSPAoTtm9ByHPdIj/nYIrwqZk9XFs cRO5mDWtsMu6RecNeSPGE4SO+AEWQv0mQ1vtRTeHpn21JQgfRCi0hCGjzeHIDadzFmdM uYOuGV9wMyThBI1KhAE9yDpGHZt4ELkhKZKNZ15axWLYqvZuQOsMFnW2xglb+GDUcXPD Mucw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=9oVkraOMe7GRFIcual9m9mGLo9RxmuJZATWUJULLK8U=; b=E1zgvq4MgF+zNN/HoGUaIClO97ycvM/zbqB1UW7HMaLAyPpAUkfey2F0MjZ3np9yd6 35XzIlbwXMR4rFlAuwK/EQUzP9sVVhgvZLV4mwSrsHW4LVFRCXWJQmSC5mcFc9MHNGM6 FJTtUilLnBVI6xtkNLrzE81nzAPa5iPaVFDnAhPrDaVrF6WsoCgz4xHYphtg7v9vCv8N Li75YcmGNSJSX8BT5qkI1riUDvwyyv2DnmgGPqzQmWpUIH9RcwQCBfYhh6WNqYT0xVDz JPeeLm9NZ4izmgoP++wfzMJzkfzPcwfWEa/WjaSKYMGWKCqHUzOnSQc+CCTsYPwE5RZ+ wDuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=PgGGVkVz; dkim=pass header.i=@codeaurora.org header.s=default header.b=cBtsDHDb; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3si4056401pgt.547.2018.04.13.07.28.41; Fri, 13 Apr 2018 07:28:55 -0700 (PDT) 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; dkim=pass header.i=@codeaurora.org header.s=default header.b=PgGGVkVz; dkim=pass header.i=@codeaurora.org header.s=default header.b=cBtsDHDb; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754378AbeDMLeK (ORCPT + 99 others); Fri, 13 Apr 2018 07:34:10 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38928 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753114AbeDMLeJ (ORCPT ); Fri, 13 Apr 2018 07:34:09 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 096226072E; Fri, 13 Apr 2018 11:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523619249; bh=fIxZe9S3hOmzSDVi27XpvWtk5K0bZetVam5IEwx96/I=; h=From:To:Cc:Subject:Date:From; b=PgGGVkVz0gfQf0StJLqCJ+rOtaS32lR8iCYKWvHKH74qUD2PId1xZYUqXoz08h7DZ xxNG4VPfqyAXoeVjA6zcwxCythnnmvuJ/FDJRtclc5+JDJmgyYVFuQ6fehUb8jHUYm alEbPzsSnUNV+KgpOr51B8dufkw4kRzC9GGi9xic= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from cpandya-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: cpandya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id DED196021A; Fri, 13 Apr 2018 11:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1523619248; bh=fIxZe9S3hOmzSDVi27XpvWtk5K0bZetVam5IEwx96/I=; h=From:To:Cc:Subject:Date:From; b=cBtsDHDbjS8TH3LoZnzytWIe3uYBeCO/QMo1iCSYYqCX8ifDOGnu5wZRo+dtC1D4P IDgPqp8HkOgrFmHL9tZwTfCgNMFmFNxo9IFuKoANhaWn/nIgt2YDkjZK+fbY2yxg9m 47Osi2lqMd234lrJalTldYO0qkOEuLRLjRwoc5vA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org DED196021A Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=cpandya@codeaurora.org From: Chintan Pandya To: vbabka@suse.cz, labbott@redhat.com, catalin.marinas@arm.com, hannes@cmpxchg.org, f.fainelli@gmail.com, xieyisheng1@huawei.com, ard.biesheuvel@linaro.org, richard.weiyang@gmail.com, byungchul.park@lge.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Chintan Pandya Subject: [PATCH 0/2] vunmap and debug objects Date: Fri, 13 Apr 2018 17:03:52 +0530 Message-Id: <1523619234-17635-1-git-send-email-cpandya@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm not entirely sure, how debug objects are really useful in vmalloc framework. I'm assuming they are useful in some ways. So, there are 2 issues in that. First patch is avoiding possible race scenario and second patch passes _proper_ args in debug object APIs. Both these patches can help debug objects to be in consistent state. We've observed some list corruptions in debug objects. However, no claims that these patches will be fixing them. If one has an opinion that debug object has no use in vmalloc framework, I would raise a patch to remove them from the vunmap leg. Chintan Pandya (2): mm: vmalloc: Avoid racy handling of debugobjects in vunmap mm: vmalloc: Pass proper vm_start into debugobjects mm/vmalloc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project