Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp654796pxy; Wed, 5 May 2021 10:26:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs5u4y/1mXQvdKLOUAg9yDs9X4D4ciJbrLUOaLBkRCuXZyIe9OsoMSgb+zdv/8jaH1EeLv X-Received: by 2002:a63:ad05:: with SMTP id g5mr6748pgf.239.1620235562711; Wed, 05 May 2021 10:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620235562; cv=none; d=google.com; s=arc-20160816; b=terRYGhuhTVKubHrY/+WvP5zF2NMoB7G07uSz88cavDJsR9gfSNNjoPO3fOWAptm8g rWoxLi2IA9eMTBXbugsFKxYiz642xOuWIENyCORJIjHgQkL5BmBM216pfSKAjy0WR9+o xnkuWBgm3v85xvnRXDlbi5BQadOvZ9Kle3fu+y1MPc779tSWYD8n5KhKIbF/vLWStJfV ZUerPA/WJyu+EhZM99AyJeI89SbkQJxCZwj4KdXpHj6r9SyWtNoSCV4fLLx8iM3zzHHx QlkvTJsYp/HezaV9ZC/Db0lV5/8tWLSKG01OFgJmNTc9J+jPtGpT4xu50nH1vUFBOvye rOfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:organization :message-id:user-agent:references:in-reply-to:subject:cc:to:from :date:mime-version; bh=y72tUbKqvMTwkFlChA5k472yTI2pqnF3JHHC5NF9Gu0=; b=KvV//D4Eimg2Jd5KV/Afqj/qxYd9kETjhru7Iupw8sgPfNx054ew4OPxdylbkIWMPC GkOjrGMlPy3xQuJvCxMrMb0PhZoGYgpX1YLcicshKyjFs5BCSoahkIyMhrLRDEUX0IwP g4NvG5omBzenRvUgMkP4Xsz+B5rnPo5U01E3Hotev2/5o0QA9ZeapuaYIT4CaEJxHIeg D9HvuerPSZ3ytYQVg87TiLlaElYja8gif/H1TN+2kLWtsDXdw0tFFVIFTpEESkiRe4Vx oq9er0yCzSdyTj/M7vBQUgXew/Arv/D6Yez5LXTfyiB2MR58rqOknPmKQjQdBYGe9t3j 3DsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay20si7994298pjb.153.2021.05.05.10.25.20; Wed, 05 May 2021 10:26:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240946AbhEERWD (ORCPT + 99 others); Wed, 5 May 2021 13:22:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:56280 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239001AbhEERKX (ORCPT ); Wed, 5 May 2021 13:10:23 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 099E9AF3D; Wed, 5 May 2021 17:09:26 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 05 May 2021 10:09:25 -0700 From: Davidlohr Bueso To: Varad Gautam Cc: linux-kernel@vger.kernel.org, Matthias von Faber , Christian Brauner , Oleg Nesterov , "Eric W. Biederman" , Manfred Spraul , Andrew Morton Subject: Re: [PATCH] ipc/mqueue: Avoid relying on a stack reference past its expiry In-Reply-To: References: <20210504155534.17270-1-varad.gautam@suse.com> <4959eb8d8c14b00113370ae86dc7c9f5@suse.de> <6fbcb0fa502e7574f87213fc29877ed8@suse.de> <5abf8348-b1fc-fecb-d130-6d45b84ee081@suse.com> User-Agent: Roundcube Webmail Message-ID: <0b1da1311f1d9f60ae3cf3f037c2bfe3@suse.de> X-Sender: dbueso@suse.de Organization: SUSE Labs Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-05-05 09:24, Davidlohr Bueso wrote: > On 2021-05-05 08:36, Varad Gautam wrote: >> If you're still unconvinced, I'll send out a v2 w/ wake_q_add called >> before >> smp_store_release. > > Yeah, please send a v2, I believe this is the right way to fix the > issue. Also, it would be good to add: Cc: # 5.6 Thanks, Davidlohr