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=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,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 6A1C2C43332 for ; Thu, 18 Mar 2021 12:44:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 401FA64F6D for ; Thu, 18 Mar 2021 12:44:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbhCRMo1 (ORCPT ); Thu, 18 Mar 2021 08:44:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230473AbhCRMoH (ORCPT ); Thu, 18 Mar 2021 08:44:07 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FEF2C06174A for ; Thu, 18 Mar 2021 05:44:07 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id hq27so3711307ejc.9 for ; Thu, 18 Mar 2021 05:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=60m7zfvASukTWP0DzkRp5rJmsSI9XBM2J1e30q6mvIA=; b=YMJQ7pTNw2uJTzM6kcuImCz+VsaWCuJYkK6XkbgNpzWQ6VBk1pgChKEsG2Wk3R8D54 hxAj2sP52yG6jYmH7cjRwxooUtzUAeZGH++zNrIoticB9iWSlM20EgRzoM/z0y34Buth j9l6GELMyHC6w94CCGlcmQPD7ynybOcRot6BE= 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=60m7zfvASukTWP0DzkRp5rJmsSI9XBM2J1e30q6mvIA=; b=HdHZ1UX+RNjtGKDG5fmjvgS6Ee40V9pBej60fDVR6esAz48rYmZD6kDDV79tmpH0Ic olqtELVbP50NPJUZWjs4z4jc0WBP2vzKRVUG2moAKwXC8NHso52lqcMfEj4b0dtCBVGb KUHA5uQFqFvxoNIsZUCOzFQGpuE7Yy7y8MC//AixzUNdF0zh95AutZUt0mFIwvVJ+4ZN F4pKJ7GPIZC76qixCpAHn0/Yi022aaoTC2ndBxRiTsdXbSC3jDB+cf2eqNdqwU6EkcKb C4QHtE428CC/OwKCkEXdPs/9chITiNw+0fWMXAy9F2AGL2L5vFcH8Q2FUdqogaKm0tR8 ltEg== X-Gm-Message-State: AOAM532fZrAhcGTwhPykQFxQUBvXHFcst5hYZr03wOLPwF2PwVRM39bO SP4K80wtVNoQSNqPeBXORLNwqbhQCjPERA== X-Google-Smtp-Source: ABdhPJxk+OWLI2MU6PB44ppFaoSsCKO43kMB1ZcwAfnKk+qgkBAHa/mSkig4f5XsZyjWs6e+wV3NGA== X-Received: by 2002:a17:907:76c7:: with SMTP id kf7mr40082241ejc.470.1616071445913; Thu, 18 Mar 2021 05:44:05 -0700 (PDT) Received: from [192.168.1.149] ([80.208.71.248]) by smtp.gmail.com with ESMTPSA id b18sm1795175ejb.77.2021.03.18.05.44.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Mar 2021 05:44:05 -0700 (PDT) Subject: Re: [PATCH 1/2] devtmpfs: fix placement of complete() call To: Rasmus Villemoes , Greg Kroah-Hartman , "Rafael J. Wysocki" Cc: Christoph Hellwig , linux-kernel@vger.kernel.org References: <20210312103027.2701413-1-linux@rasmusvillemoes.dk> From: Rasmus Villemoes Message-ID: Date: Thu, 18 Mar 2021 13:44:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210312103027.2701413-1-linux@rasmusvillemoes.dk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/03/2021 11.30, Rasmus Villemoes wrote: > Calling complete() from within the __init function is wrong - > theoretically, the init process could proceed all the way to freeing > the init mem before the devtmpfsd thread gets to execute the return > instruction in devtmpfs_setup(). Greg, ping? Also for the other one.