Received: by 10.213.65.68 with SMTP id h4csp1483424imn; Mon, 26 Mar 2018 08:22:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+uIZgkswcRVFuKmRMF0QYR0kdzMOzalIfsYoB6wvfYA5fmGrK9disRlNwHRCkvbr2S0mAW X-Received: by 2002:a17:902:8f8f:: with SMTP id z15-v6mr390420plo.368.1522077756993; Mon, 26 Mar 2018 08:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522077756; cv=none; d=google.com; s=arc-20160816; b=rxMfwfg5DEGwOQqk4LuLcKsNdwuEd3pNk07JzsAWas8tLZMQ9hNDS9TdPtmik7k+e7 /CiUxKNvtNa4DAIJ7OEZWD9+mxorb3r2FtSq+GfEeXymXJEMnGM2UZQ0cIIjpl5zm7lw +AYBXnNBvMAVcBUpZYg12DCCC6lRhHtKtFyWpGHZFlPcoD9uzJg+/PnfYSr2cowE5sRf 5CM2fXOulrQ1agSFPJG4B9b856Sgs6RnGt4pEzo7SR7cizNoawdLcYFmHhlVBHghvRXM ZORtYKjFxH8JG9DmIsUZ++1vjfPZ/d1p8fhjKwnKgNCrcLm7SHUwygnLixkE2VqO8nnK Yc9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:date:message-id:in-reply-to:cc:to:from :reply-to:subject:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=AJRZ9eST6gSttUUZVcVcIwR37oZaFYvVQlFIdQOEmt0=; b=O6cjEGxStYoA5djYc0w+vDWCrMe6PNFXmufNy9tnAl8ykaPsijUMkXW64D6uhLZWTo ciKgenun5kWq1Q6yE9NWV2Ndz+9ql5BVzJqcuRUB1A7IvDhWs2XDl2CP6c6tUZPwK/AG 5uCQJb4rOhl6VcYTSfjEZ+NhI37wngU7ckOP1+jni/vuGc2iBDjT8V+36Uy4jx/A5Fz6 a/qLBfErCrd7gY4RgEXdirTfyyhFhIo6oEa7Ai2LbFADdyxHTDJ8Nq8njszsfjaJQ6J4 cZ77/ifUvYMrOJcX9MIGzi8lL+b3fHhPHY8lujZsxs1QWZEiuHDX5ANzh98w7JgMKM2h orng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=K44aQi6J; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2-v6si14276078plt.207.2018.03.26.08.22.17; Mon, 26 Mar 2018 08:22:36 -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=@samsung.com header.s=mail20170921 header.b=K44aQi6J; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752177AbeCZPVS (ORCPT + 99 others); Mon, 26 Mar 2018 11:21:18 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:24045 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840AbeCZPVQ (ORCPT ); Mon, 26 Mar 2018 11:21:16 -0400 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180326152114epoutp03372df7bb3b37b18fa01fcb6ef21a80b4~fgZSrdbR00334703347epoutp03A for ; Mon, 26 Mar 2018 15:21:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180326152114epoutp03372df7bb3b37b18fa01fcb6ef21a80b4~fgZSrdbR00334703347epoutp03A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1522077674; bh=AJRZ9eST6gSttUUZVcVcIwR37oZaFYvVQlFIdQOEmt0=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=K44aQi6JVQ3A5yYTE8s/knDIluGaXhO6x/Dgf4ykBuPVy4pthdKbErO76+9qxLjlQ IOykepG6VFXNHQqSNwD4vYkxHn5qGRjjWboKzJbOz9U3sZcn2gpgqLO2CWxCHZ0lbr vT+mpvB/hB/o/wXRUqbMQKmBDOaUWbgIh2aDZ5aI= Received: from epsmges5p1new.samsung.com (unknown [182.195.40.75]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20180326152113epcas5p4ad4d774026a73bc0a23384ea3c66be41~fgZRXF_-E0891708917epcas5p43; Mon, 26 Mar 2018 15:21:13 +0000 (GMT) X-AuditID: b6c32a49-71dff70000000fee-d2-5ab90fe9fb9f Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 23.66.04078.9EF09BA5; Tue, 27 Mar 2018 00:21:13 +0900 (KST) Mime-Version: 1.0 Subject: RE: Re: [PATCH v2] mm/page_owner: ignore everything below the IRQ entry point Reply-To: v.narang@samsung.com From: Vaneet Narang To: Dmitry Vyukov , Maninder Singh CC: Andrey Ryabinin , Alexander Potapenko , Kate Stewart , Thomas Gleixner , Philippe Ombredanne , Greg Kroah-Hartman , Andrew Morton , Vlastimil Babka , Stephen Rothwell , Michal Hocko , "vinmenon@codeaurora.org" , "gomonovych@gmail.com" , Ayush Mittal , LKML , kasan-dev , Linux-MM , AMIT SAHRAWAT , PANKAJ MISHRA X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: X-Drm-Type: Y,confirm X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20180326141717epcms5p4064a0fd4f594b2ff434f9b05cd1ea5ad@epcms5p4> Date: Mon, 26 Mar 2018 19:47:17 +0530 X-CMS-MailID: 20180326141717epcms5p4064a0fd4f594b2ff434f9b05cd1ea5ad Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE X-MTR: 20180326141717epcms5p4064a0fd4f594b2ff434f9b05cd1ea5ad CMS-TYPE: 105P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkl+LIzCtJLcpLzFFi42LZdlhTXfcl/84og/NL2Cwu7k61mLN+DZvF l0nv2C2u/N7PbjHhYRu7RfvHvcwWhx++ZbVoXryezWLFs/tMFj1zmhgtLu+aw2Zxb81/VovD 89tYLO73OVjce7OVyeL/73OsFlv3XmW32LxpKrPF7MY+Rov1Ww+wO4h4NN64weZxua+XyWPn rLvsHgs2lXrsmXiSzWPTp0nsHu/OnWP3ODHjN4vH/rlr2D2W7zTx6NuyitFj/ZarLB5nFhxh 9/i8Sc7j9f5DjAH8Uak2GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW5koKeYm5qbZK Lj4Bum6ZOUBfKymUJeaUAoUCEouLlfTtbIryS0tSFTLyi0tslaINDY30DA3M9YyMjPRMTGOt jEyBShJSM3a+usBYcIS1YtrrXcwNjDtZuhg5OSQETCT+fD3C1sXIxSEksJtR4vSsT+xdjBwc vAKCEn93CIPUCAtESNz5NYsZxBYSkJM4fmM3I0RcR+LEvDWMIOVsAloSH1vCQcIiAkESG3b/ YwEZySzwiVXi0sYzjBC7eCVmtD+F2istsX35VrA4p0CgxOTjE6FqRCX+NMDUiEq8PzYfKi4i 0XrvLDOELSjx4OduqLiMxPev/awgyyQEuhkl3k3ezQLhTGGUaHgD020ucf7kfLBuXgFfiU1g HZwcLAKqErP3fYea6iLRfPAFmM0sIC+x/e0cZpDPmAU0Jdbv0ocokZWYemodE4RtK3Fq+RI2 iHI+id7fT5hgntwxD8ZWkjh3cCcbhC0h8aRzJtQqD4m3jzcxTWBUmoUI6llIFs9CWLyAkXkV o2RqQXFuemqxaYFhXmq5XnFibnFpXrpecn7uJkZw8tfy3ME465zPIUYBDkYlHt4ZHDujhFgT y4orcw8xSnAwK4nw8s3fESXEm5JYWZValB9fVJqTWnyI0RQYBBOZpUST84GZKa8k3tDE0sDE zMzc0MDA0kRJnNcx0CVKSCA9sSQ1OzW1ILUIpo+Jg1OqgbH422JH1ejZn7o+XA0vcrtnlnKv L63u9anEfqbVv+MlN5mw2S1/kvL78otfutOL5n+apBFZWdz+SkxD6rZtTPHbyQeCF4XIBavy BD/RnNeY3BDywtNzv1nelgC+H8JJX53k5UuuB6hUyQdv2LRFhqHj77enc24srblWZM2z4pFz ULng2ZN5wUosxRmJhlrMRcWJABz3lagUBAAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180326100020epcas5p2b50b7541e66dccf4e49db634e5fe6b41 X-RootMTR: 20180326100020epcas5p2b50b7541e66dccf4e49db634e5fe6b41 References: <1522058304-35934-1-git-send-email-maninder1.s@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, >Every user of stack_depot should filter out irq frames, without that >stack_depot will run out of memory sooner or later. so this is a >change in the right direction. > >Do we need to define empty version of in_irqentry_text? Shouldn't only >filter_irq_stacks be used by kernel code? We thought about this but since we were adding both the APIs filter_irq_stacks & in_irqentry_text in header file so we thought of defining empty definition for both as both the APIs are accessible to the module who is going to include header file. If you think empty definition of in_irqentry_text() is not requited then we will modify & resend the patch. Thanks & Regards, Vaneet Narang