From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751674AbbJES7L (ORCPT ); Mon, 5 Oct 2015 14:59:11 -0400 Received: from mga09.intel.com ([134.134.136.24]:22806 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbbJES7J (ORCPT ); Mon, 5 Oct 2015 14:59:09 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,640,1437462000"; d="scan'208";a="804179540" Date: Mon, 5 Oct 2015 11:58:10 -0700 From: Andi Kleen To: Andrey Ryabinin Cc: Dmitry Vyukov , Ingo Molnar , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , LKML , Andy Lutomirski , Andrey Konovalov , Kostya Serebryany , Alexander Potapenko , kasan-dev , Borislav Petkov , Denys Vlasenko , Sasha Levin , Wolfram Gloger , Linus Torvalds , Andrew Morton Subject: Re: [PATCH] x86/process: Silence KASAN warnings in get_wchan() Message-ID: <20151005185810.GF26924@tassilo.jf.intel.com> References: <1444040906-6788-1-git-send-email-aryabinin@virtuozzo.com> <20151005112341.GA1101@gmail.com> <56126316.3030901@virtuozzo.com> <20151005163906.GE26924@tassilo.jf.intel.com> <5612AC7A.9080502@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5612AC7A.9080502@virtuozzo.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Yes, it might be better. Although, because of broken -fconserve-stack, this may > not work in some cases - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533 > Function splitter may split original function into two parts and it always puts one split > part in default .text section. Interesting. I guess could just add noinline too. It only happens with inlining, right? Probably that needs to be added to all the existing section users too, like __kprobes. -Andi