Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp896269img; Fri, 22 Mar 2019 10:52:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwP1vfTldVlPaJ6UCWYVp7afqYQh+0ldDeHV3Vo9d5Xt180VLYHVK42ZtYyKktRHUqkV2LN X-Received: by 2002:a63:5318:: with SMTP id h24mr10198045pgb.76.1553277170180; Fri, 22 Mar 2019 10:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553277170; cv=none; d=google.com; s=arc-20160816; b=Ky8R9g0z9XBPZFcg2Pl7szKhLg48RPNRbdcC5ql3MWNoTy+p+GiQlxAiEsjpDRwfnb fk2mAh9frjwCgB83XuhgpgJSra/78uNzZhdGI4duS873KDKo7yvLthj5AG7/ehiEkIB1 LXzc/TWzkoBpnkm8ds78b6g5EQ7yzYLqjkxMzsXnJnwzXrIuRPMhlLzU57P8/fWxsUTZ aLYiujyRm4InRmBxVZOagfUGIjyrOOWCtsIOJtv49hHZ6UYPFdPxJtjGTX4Xp17DZXrM A2caAZr+8zLka4GmxYwWTq5isMIeEQ+zEmgdRF7b4JmLtwbyvanA7yMAMIjYuy2XW/j4 wOog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature; bh=iIgmAU/fmwNi3T/2GQAeg5SnVOfELTKSk9Yud2RNxkA=; b=ufQTy0YuZzY0NVFKGKH123QkUqB61mFR4iVRfQ4mJdBBESszVebA1XBGgpr/Zcj80z 13s4NO3y5W9DoxPg1cLS5DVTerCpzX1D6Ss8DG7CygsVt4GZmRWn0hRCVHEvyDJQcP3e 4KYOhmBgDHVV3Kah+6ermuwwJUoE2Jd3JT5vKzyTSY1chM1nDTQ7ZmYQuSO4CfGwIluH VzBLFnRRREqHyX2lPm7vjSWtNo1ot1394i9V8gS9F54qrJXf7WnKhtX0+Dym4ceEZfld d0ynSvubgiqwQ8ueV3BhrdjpRKdSGqNatI7VZZSIpcj3A4aYm4oKL3OLz5QF1HxVdKGt dA1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b=bOC62TCM; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si7365793plk.359.2019.03.22.10.52.32; Fri, 22 Mar 2019 10:52:50 -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=@amazonses.com header.s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw header.b=bOC62TCM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728856AbfCVRuV (ORCPT + 99 others); Fri, 22 Mar 2019 13:50:21 -0400 Received: from a9-30.smtp-out.amazonses.com ([54.240.9.30]:55620 "EHLO a9-30.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727801AbfCVRuV (ORCPT ); Fri, 22 Mar 2019 13:50:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1553277020; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=iIgmAU/fmwNi3T/2GQAeg5SnVOfELTKSk9Yud2RNxkA=; b=bOC62TCM7G6uxAcMzaA+xU+tnbuSdATCmTtXQo6j8wnQxuRyiSrmNIhyUKo9JFTY SlFgTxD26wFebqplJoWTJBWgdn7/NN/ihuQsM3VsuSdOiZK3UA2D2b75/n0QWbExOut IbCYs+QHKy29Mvnk1COekXG0qSFVOAJCSoPueu6w= Date: Fri, 22 Mar 2019 17:50:20 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Waiman Long cc: Oleg Nesterov , Matthew Wilcox , Andrew Morton , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-kernel@vger.kernel.org, linux-mm@kvack.org, selinux@vger.kernel.org, Paul Moore , Stephen Smalley , Eric Paris , "Peter Zijlstra (Intel)" Subject: Re: [PATCH 2/4] signal: Make flush_sigqueue() use free_q to release memory In-Reply-To: Message-ID: <01000169a686689d-bc18fecd-95e1-4b3e-8cd5-dad1b1c570cc-000000@email.amazonses.com> References: <20190321214512.11524-1-longman@redhat.com> <20190321214512.11524-3-longman@redhat.com> <20190322015208.GD19508@bombadil.infradead.org> <20190322111642.GA28876@redhat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2019.03.22-54.240.9.30 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Mar 2019, Waiman Long wrote: > I am looking forward to it. There is also alrady rcu being used in these paths. kfree_rcu() would not be enough? It is an estalished mechanism that is mature and well understood.