Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3556765ybi; Mon, 29 Jul 2019 08:32:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+RMdk7mVQBQKHvOmUOSMpChrRlQCTwIA6Vvc74Jm1NMcTa/TqvyqXJcY6mQDNUe4ooLke X-Received: by 2002:a62:7552:: with SMTP id q79mr37463652pfc.71.1564414358829; Mon, 29 Jul 2019 08:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564414358; cv=none; d=google.com; s=arc-20160816; b=NTzkFMjkjxBBGa36nwxScdkNMed6P0aHbjm9wpvjnn3SZdi/vaKzMxjQTRaJu8gD46 Uw12zUBdNrXN7E6ILYkJx5UjWgGApMCf5Uy9AkUfCTbvt+n85+9ULZ6OaVvzTXlowfe3 oaEfghCuaslpGxLgUEWCrLKy0TBDBPI88mQG27/Pk/4LV0VNUbHU97yLSOlQkZtFCJfd O/mefhORmVAL7wKJXZ2hB8VLj2yrAZkumWqkBlEt256AYRI/ByII5vrO7wJLE/08Y1La btKqgw7JIP4aMZCPgXqQ7bznI9adGIPHHDMDDZA5/fpcAF7ynslW04D3weVyaYBtanzd E38Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=BTJIB84X56fbn9vPQJvEuMp4JcmuXiNPP466uIiJgRY=; b=EuQ7hfysuh0u+EI20Z9KHHxG/gklp7f0o0KsMV1Z/FUBTtmKuwsj7iQfKskflDlzsP HezRJcBJEH51Lgjw35CmQ2ONbWvm8lnr+cg9Rmnr4sWXaBdrH/TzUp3XQqVMVuL6OcJj R+w9HFM9B/djscjoXa5VFCHFBhqtgrf6v6ZmhnUYbj422jFCyhrat0y35vPh63SWbz7j k50FiCTNhp8XB0E96DpWuxeWB4XAcc/84EqfuIeHxijlw/Lju8HbPKz+f6efXHfi/vgR ME7/IziiAlBePwNLyJXvEixKn9uAGLiQyX42k+1ZNaCO0lUcyLCGHMBUPkcEtLfgTuFK u9Og== ARC-Authentication-Results: i=1; mx.google.com; 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 l1si26536096pff.178.2019.07.29.08.32.22; Mon, 29 Jul 2019 08:32:38 -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; 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 S2388026AbfG2P3m (ORCPT + 99 others); Mon, 29 Jul 2019 11:29:42 -0400 Received: from shelob.surriel.com ([96.67.55.147]:60516 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387925AbfG2P3m (ORCPT ); Mon, 29 Jul 2019 11:29:42 -0400 Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hs7an-0005ym-DC; Mon, 29 Jul 2019 11:29:41 -0400 Message-ID: <5335b83c3371242f75abb6c92b40c665bb8f9ce3.camel@surriel.com> Subject: Re: [PATCH] sched: Clean up active_mm reference counting From: Rik van Riel To: Peter Zijlstra , Waiman Long Cc: Ingo Molnar , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Phil Auld , luto@kernel.org, mathieu.desnoyers@efficios.com Date: Mon, 29 Jul 2019 11:29:41 -0400 In-Reply-To: <20190729142450.GE31425@hirez.programming.kicks-ass.net> References: <20190727171047.31610-1-longman@redhat.com> <20190729085235.GT31381@hirez.programming.kicks-ass.net> <20190729142450.GE31425@hirez.programming.kicks-ass.net> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-xhoRZta1p4CDAjhhG3pf" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-xhoRZta1p4CDAjhhG3pf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2019-07-29 at 16:24 +0200, Peter Zijlstra wrote: > Subject: sched: Clean up active_mm reference counting > From: Peter Zijlstra > Date: Mon Jul 29 16:05:15 CEST 2019 >=20 > The current active_mm reference counting is confusing and sub- > optimal. >=20 > Rewrite the code to explicitly consider the 4 separate cases: >=20 Reviewed-by: Rik van Riel --=20 All Rights Reversed. --=-xhoRZta1p4CDAjhhG3pf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAl0/EOUACgkQznnekoTE 3oOjJwf/ajhjMXP9koUzmYeZd95QTTdo4qKU1rTnCPbOw2EJeuQ1PO+XoaWfG9jI xK4Mf1ns4ypSWTut3wV3PCsi/RjWQNnbSBsEwPPVrmhivjFwWSY8GfQ6cDNnNASA UGOd7rBvuGaDp6oJCfLHQz9lRLaJI47EHZuK28IvnWbjMY7aQyRMBnV58y0hAhoQ HjAoSz2I4M/w37q94IVKYPKGuU+I+/g5zK6ZaY4PrBkw7hatv/yoUt6y3KoglFZY APK3yTvtCwQQFNYdLMAXyJswmHeiLgOn/5c99NZjxU2nPv/OQ2kuO+NaXo0Cq4ac izDJuwuoYNuCP/XfZNMLVQz5Inafxw== =jzZW -----END PGP SIGNATURE----- --=-xhoRZta1p4CDAjhhG3pf--