From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 441F4C4741F for ; Mon, 9 Nov 2020 01:27:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 04D64206B6 for ; Mon, 9 Nov 2020 01:27:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I+fNSTPn" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729022AbgKIB1c (ORCPT ); Sun, 8 Nov 2020 20:27:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727979AbgKIB1b (ORCPT ); Sun, 8 Nov 2020 20:27:31 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BB77C0613CF; Sun, 8 Nov 2020 17:27:31 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id d12so5509372wrr.13; Sun, 08 Nov 2020 17:27:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=u7fInsN0dgMnu8fAzY3wCxL0kCoLw+dIKIcs/otIlLI=; b=I+fNSTPnsAaAKQZ6jCM216iJlQaqEshpzb1n7Mk0P0CzlKQVMW0yctSJF0EwFXMlTJ xiLFwqnKmh4YBtL+D8FXupnP4Tt4qz8hnFFA+Zi0IxhETDvazYwh8PBeTwEGF0Jbd/MN 0KeOnzLJElwt3V54PiLjaXC6sg/kF9o44dqzyg4MH9mIpR6ihoh3sRYnEZpCwBK7EAV+ 9OjQek2GVeQdyqXRPNWyTxly4jN7Cz4gJNwSWokksnvR/vIrVX4YMEcKVYWlRXyZQI8m f7e7Erjbc7dYLgaqoHqX7av0f3wI/G5yM5xMauv+C2BRKfQHdxgTLYS9nAo6nDzxphoU O1+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=u7fInsN0dgMnu8fAzY3wCxL0kCoLw+dIKIcs/otIlLI=; b=DUyckTAsaGuNfI3c8F9erYEyftyQMFuBYIWP+jT7FtaD8n1Cus/CCf7eruPhPA6F5Q v7v9bhuomgx9F9IUKdjf6J6JivVW5MiIEekKWVbG8+ytuWGIwdd7ncPHVOlxSmco+JBt sj+uJUHFsx6Le8TOPrzUKTvq5XHy3tDuOJJccY5UdAOvjIAt3vxxVWE7D/HFj4DARF3F PDa5QwPZV0v41Gw1KqCS/SS+6ARfQF0gIvOb/FYS4JLWKPbdHx1VIYeEVnbD0WRgwIiH 6rdFNWpfZFWfS97gRzNWlFYqvCXcGkZAFwgOSsV5MppvSWhXSU+YBztkE3n7y+b+TDd0 fkbg== X-Gm-Message-State: AOAM533QipIwYde1RofJ8VrTU8/ziwkAXDdCYJjMm/qbyVnsqHIpWKz7 XFvGHuk+AZSTYC+/Er3FqO24XYAkF6fYG6yE X-Google-Smtp-Source: ABdhPJzVg+gmDJzxRv9nWXxxORjkO64NczFwI57Z0tklrXqaLtacHGCcCQ9AtIipvSYgKtq3GdUBFw== X-Received: by 2002:adf:9069:: with SMTP id h96mr15983096wrh.358.1604885249587; Sun, 08 Nov 2020 17:27:29 -0800 (PST) Received: from ?IPv6:2a02:8084:e84:2480:228:f8ff:fe6f:83a8? ([2a02:8084:e84:2480:228:f8ff:fe6f:83a8]) by smtp.gmail.com with ESMTPSA id g17sm11485885wrw.37.2020.11.08.17.27.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Nov 2020 17:27:28 -0800 (PST) Subject: Re: [PATCH 00/19] Add generic user_landing tracking To: Andy Lutomirski , Dmitry Safonov Cc: LKML , Alexander Viro , Andrew Morton , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christophe Leroy , Guo Ren , "H. Peter Anvin" , Ingo Molnar , Oleg Nesterov , Russell King , Thomas Bogendoerfer , Thomas Gleixner , Vincenzo Frascino , Will Deacon , X86 ML , linux-arm-kernel , Albert Ou , "David S. Miller" , Palmer Dabbelt , Paul Walmsley , Linux FS Devel , Christian Borntraeger , Heiko Carstens , Vasily Gorbik , linux-s390 , sparclinux , "open list:MIPS" References: <20201108051730.2042693-1-dima@arista.com> From: Dmitry Safonov <0x7f454c46@gmail.com> Message-ID: <9f416ebd-2535-1b57-7033-e1755e906743@gmail.com> Date: Mon, 9 Nov 2020 01:27:27 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/8/20 7:07 PM, Andy Lutomirski wrote: > On Sat, Nov 7, 2020 at 9:17 PM Dmitry Safonov wrote: >> >> Started from discussion [1], where was noted that currently a couple of >> architectures support mremap() for vdso/sigpage, but not munmap(). >> If an application maps something on the ex-place of vdso/sigpage, >> later after processing signal it will land there (good luck!) >> >> Patches set is based on linux-next (next-20201106) and it depends on >> changes in x86/cleanups (those reclaim TIF_IA32/TIF_X32) and also >> on my changes in akpm (fixing several mremap() issues). >> >> Logically, the patches set divides on: >> - patch 1: cleanup for patches in x86/cleanups >> - patches 2-11: cleanups for arch_setup_additional_pages() > > I like these cleanups, although I think you should stop using terms > like "new-born". A task being exec'd is not newborn at all -- it's in > the middle of a transformation. Thank you for looking at them, Andy :-) Yeah, somehow I thought about new-execed process as a new-born binary. I'll try to improve changelogs in v2. Thanks, Dmitry From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Safonov <0x7f454c46@gmail.com> Date: Mon, 09 Nov 2020 01:27:27 +0000 Subject: Re: [PATCH 00/19] Add generic user_landing tracking Message-Id: <9f416ebd-2535-1b57-7033-e1755e906743@gmail.com> List-Id: References: <20201108051730.2042693-1-dima@arista.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andy Lutomirski , Dmitry Safonov Cc: Catalin Marinas , Oleg Nesterov , Guo Ren , "H. Peter Anvin" , sparclinux , Vincenzo Frascino , Will Deacon , linux-s390 , Vasily Gorbik , X86 ML , Russell King , Christophe Leroy , Christian Borntraeger , Ingo Molnar , "open list:MIPS" , Albert Ou , Arnd Bergmann , Heiko Carstens , Borislav Petkov , Alexander Viro , Paul Walmsley , Thomas Gleixner , linux-arm-kernel , Thomas Bogendoerfer , LKML , Palmer Dabbelt , Linux FS Devel , Andrew Morton , "David S. Miller" On 11/8/20 7:07 PM, Andy Lutomirski wrote: > On Sat, Nov 7, 2020 at 9:17 PM Dmitry Safonov wrote: >> >> Started from discussion [1], where was noted that currently a couple of >> architectures support mremap() for vdso/sigpage, but not munmap(). >> If an application maps something on the ex-place of vdso/sigpage, >> later after processing signal it will land there (good luck!) >> >> Patches set is based on linux-next (next-20201106) and it depends on >> changes in x86/cleanups (those reclaim TIF_IA32/TIF_X32) and also >> on my changes in akpm (fixing several mremap() issues). >> >> Logically, the patches set divides on: >> - patch 1: cleanup for patches in x86/cleanups >> - patches 2-11: cleanups for arch_setup_additional_pages() > > I like these cleanups, although I think you should stop using terms > like "new-born". A task being exec'd is not newborn at all -- it's in > the middle of a transformation. Thank you for looking at them, Andy :-) Yeah, somehow I thought about new-execed process as a new-born binary. I'll try to improve changelogs in v2. Thanks, Dmitry From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 E330FC388F9 for ; Mon, 9 Nov 2020 01:29:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5CB3F206B6 for ; Mon, 9 Nov 2020 01:29:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ai+5DmgE"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I+fNSTPn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5CB3F206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=a/weAHv34eXYpnmdoLCEj56xcDARYRCEzafl9W6n8QU=; b=ai+5DmgEOjF6riWCfcyNgTrAX 2WRwnKVKIF00i/8ENNTx18TXA9mQ7W2dV6h3c23WtNKwxnm4fSB3z/GFSHSnC7I4JDsy8asZDSCC2 wwINL1E1bFOLhm17XdRCNuitt4R1bRYNbDrU6h87e3G/gy3AfK4Ue6+Sk3qVXrlcEOlndXQtfzRgw 0chQ0dvwrU3ne8+eiAnd9Kryazg1q4XgMJ3c4QqBtIaXoiFwfYU2pljR/avNWNJV7LmnwrDeNFZGw u4KQA9eDplERiloniufCmEOxhGj0Xe8xmXb0ngE4jOi+KwQ+wvWDTvaOZXNqfIUDxwE0+8ab8VbXh 3MzX3MqVA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbvy3-0000r5-AP; Mon, 09 Nov 2020 01:27:35 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbvy0-0000q2-8T for linux-arm-kernel@lists.infradead.org; Mon, 09 Nov 2020 01:27:32 +0000 Received: by mail-wr1-x441.google.com with SMTP id b8so7036846wrn.0 for ; Sun, 08 Nov 2020 17:27:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=u7fInsN0dgMnu8fAzY3wCxL0kCoLw+dIKIcs/otIlLI=; b=I+fNSTPnsAaAKQZ6jCM216iJlQaqEshpzb1n7Mk0P0CzlKQVMW0yctSJF0EwFXMlTJ xiLFwqnKmh4YBtL+D8FXupnP4Tt4qz8hnFFA+Zi0IxhETDvazYwh8PBeTwEGF0Jbd/MN 0KeOnzLJElwt3V54PiLjaXC6sg/kF9o44dqzyg4MH9mIpR6ihoh3sRYnEZpCwBK7EAV+ 9OjQek2GVeQdyqXRPNWyTxly4jN7Cz4gJNwSWokksnvR/vIrVX4YMEcKVYWlRXyZQI8m f7e7Erjbc7dYLgaqoHqX7av0f3wI/G5yM5xMauv+C2BRKfQHdxgTLYS9nAo6nDzxphoU O1+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=u7fInsN0dgMnu8fAzY3wCxL0kCoLw+dIKIcs/otIlLI=; b=PMCDWHLxcohYnFRIzyUJu+oCdfFDwXwpNI+PWtz9zX9QCkrxQCEqhlh4z8doDFnqar g4m0ikpoWJ8o4SmVuYfN8QtwkMS1/aXL4UHpnkUK/KBXr/OcHe0juP//T7ubeVlelqRr LKVJO5Zf6k3N4thdC/oHtgjUJIFLyXKhUNgfCz4g/qIQ7MPpoBXNRMJid/EzxzFWiKxt P0+lDWENeTk0r0t22hi/l/hdz0V/yU+wJzZVpktGjptHrX1FBzxmXI3xFc8bIUsxDLG1 kvOFAD3pqEX14knUtlENIcjDTHeoSq7CJVB/ftCqVoRoUtShXsn/J0XNbLPDhyzwU19t VFOQ== X-Gm-Message-State: AOAM533Q+vHVwPAPK0/QAKA/+/Thgudg/guuzWN5xxKPbQWcL3hOIp7j YEVUeglLU6Lbrr4rl5Lza2w= X-Google-Smtp-Source: ABdhPJzVg+gmDJzxRv9nWXxxORjkO64NczFwI57Z0tklrXqaLtacHGCcCQ9AtIipvSYgKtq3GdUBFw== X-Received: by 2002:adf:9069:: with SMTP id h96mr15983096wrh.358.1604885249587; Sun, 08 Nov 2020 17:27:29 -0800 (PST) Received: from ?IPv6:2a02:8084:e84:2480:228:f8ff:fe6f:83a8? ([2a02:8084:e84:2480:228:f8ff:fe6f:83a8]) by smtp.gmail.com with ESMTPSA id g17sm11485885wrw.37.2020.11.08.17.27.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Nov 2020 17:27:28 -0800 (PST) Subject: Re: [PATCH 00/19] Add generic user_landing tracking To: Andy Lutomirski , Dmitry Safonov References: <20201108051730.2042693-1-dima@arista.com> From: Dmitry Safonov <0x7f454c46@gmail.com> Message-ID: <9f416ebd-2535-1b57-7033-e1755e906743@gmail.com> Date: Mon, 9 Nov 2020 01:27:27 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201108_202732_322941_792A0573 X-CRM114-Status: GOOD ( 19.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , Oleg Nesterov , Guo Ren , "H. Peter Anvin" , sparclinux , Vincenzo Frascino , Will Deacon , linux-s390 , Vasily Gorbik , X86 ML , Russell King , Christophe Leroy , Christian Borntraeger , Ingo Molnar , "open list:MIPS" , Albert Ou , Arnd Bergmann , Heiko Carstens , Borislav Petkov , Alexander Viro , Paul Walmsley , Thomas Gleixner , linux-arm-kernel , Thomas Bogendoerfer , LKML , Palmer Dabbelt , Linux FS Devel , Andrew Morton , "David S. Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11/8/20 7:07 PM, Andy Lutomirski wrote: > On Sat, Nov 7, 2020 at 9:17 PM Dmitry Safonov wrote: >> >> Started from discussion [1], where was noted that currently a couple of >> architectures support mremap() for vdso/sigpage, but not munmap(). >> If an application maps something on the ex-place of vdso/sigpage, >> later after processing signal it will land there (good luck!) >> >> Patches set is based on linux-next (next-20201106) and it depends on >> changes in x86/cleanups (those reclaim TIF_IA32/TIF_X32) and also >> on my changes in akpm (fixing several mremap() issues). >> >> Logically, the patches set divides on: >> - patch 1: cleanup for patches in x86/cleanups >> - patches 2-11: cleanups for arch_setup_additional_pages() > > I like these cleanups, although I think you should stop using terms > like "new-born". A task being exec'd is not newborn at all -- it's in > the middle of a transformation. Thank you for looking at them, Andy :-) Yeah, somehow I thought about new-execed process as a new-born binary. I'll try to improve changelogs in v2. Thanks, Dmitry _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel