Received: by 10.213.65.68 with SMTP id h4csp4416275imn; Tue, 10 Apr 2018 14:42:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+v90t3FYK5hXlvb2n/CopSOEVbCENXDYrxJlcl4k37DIrTAY1TLbg1JoZ5XGpZxJHjWrLu X-Received: by 2002:a17:902:7c82:: with SMTP id y2-v6mr2168792pll.103.1523396523833; Tue, 10 Apr 2018 14:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523396523; cv=none; d=google.com; s=arc-20160816; b=MGG0n5WJqFDXwAk4Bsj5wki37o6uRvbbPplU1XLkBUDEieFaIWGkaLfSA4maSwlneq YjO4curqUcJkLNNMNfl4F6xvHhWsHKgYa3qM9zuKn5JobvFEtx8J34PUfL3xIgY9LoIn V3Dn1A63n9WFcvERF1HaUQ114ZENlSqyem/SNCrL2t/gkGMcX7qhxYi3CnFPU0kyc2um lWmb81Oq4Lhi+WmpflS2Rxtu7UrW6JnBO0mrMaNE+/gMnJRLkRFrzHmDJZimShHM4JXa FIudHopbZh344bl9hWNzA7U8s04uEfekjhxSpXIsCRp0tQZIVes3ARkLpqFxRor6jjIf JYJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=8ucmojLjlQyz3dACrOB2qm3OlyIagQfaLItEAfxjAvI=; b=UWusASTFAHDLusLKpmUA53NLCn3eOQJMbicEdjwe6fFIVGmaSpZ587vG9c7JrsMHG+ yee2kpYrNCF0Rr3kH4hhXO2iKvTY6eBrtb+zAdn1cnUPGsvFheHM6b8Xl0yTdce7MuGU 8wiRfkc4JveonDF5JAOGIAJmTq/J3YSndO6ltJlDP+iNCcsdsG9uDrmf7LmDUPPQj16q vCnrw6gORjUSF9xhohSrDZeCMco9FdmhZSqJ2uUDyFYYDcoxQa40LGqkuVm6sjswiJk5 EKpYj5b6NxTHW2YPFucRScL7PHBJ4dXoI9C/Whyr8NF6fKfBpGKuXDrLp+zVEDZHoBxh QjzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=K1DLgYLM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y38-v6si3513919plh.476.2018.04.10.14.41.26; Tue, 10 Apr 2018 14:42:03 -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=@oracle.com header.s=corp-2017-10-26 header.b=K1DLgYLM; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752558AbeDJViK (ORCPT + 99 others); Tue, 10 Apr 2018 17:38:10 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:43436 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751770AbeDJViG (ORCPT ); Tue, 10 Apr 2018 17:38:06 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3ALVwRa021189; Tue, 10 Apr 2018 21:37:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2017-10-26; bh=8ucmojLjlQyz3dACrOB2qm3OlyIagQfaLItEAfxjAvI=; b=K1DLgYLMRP2K0PL1RhCAi6bIA5TPinAL1wc8cXiqnUx4Ksgb2b9sPcTnvavwkTSNALMz 4xtGZwQ3CnPoS2kYRY58bIr7Ni8toVDBEgrot0ggSlm3CxHhGz41jBQM35DuDqzuDdoO FlrdptXK6rkPEOQ8Ax5aZZts41BX9lWSuBQ2TUk0h+ttyHIx+H2gXW2lr10OOSVksylr SVXM6SxQVeRBwQJw3SasAMCWCZ1w1KR2XadQkFBLX78MPNc9gdijvLP5KOKKtL9BnEEQ SiNFamCvuQRgnuo3kHH5OToDa6Dv56vj0UBZlK0FTKXavRmsbjvQpmuSk02Vows1rFal xg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2h6pn4m7x2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Apr 2018 21:37:33 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w3ALbW72004370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Apr 2018 21:37:32 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w3ALbTLS015349; Tue, 10 Apr 2018 21:37:29 GMT Received: from [10.74.104.224] (/10.74.104.224) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 10 Apr 2018 14:37:29 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: [RFC PATCH 1/1 v2] vmscan: Support multiple kswapd threads per node From: Buddy Lumpkin In-Reply-To: <20180406073809.GF8286@dhcp22.suse.cz> Date: Tue, 10 Apr 2018 14:37:27 -0700 Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, hannes@cmpxchg.org, riel@surriel.com, mgorman@suse.de, willy@infradead.org, akpm@linux-foundation.org Content-Transfer-Encoding: 7bit Message-Id: <9FBD9A5F-8381-4810-A480-806632EBBDFC@oracle.com> References: <1522878594-52281-1-git-send-email-buddy.lumpkin@oracle.com> <20180405061015.GU6312@dhcp22.suse.cz> <99DC1801-1ADC-488B-BA8D-736BCE4BA372@oracle.com> <20180406073809.GF8286@dhcp22.suse.cz> To: Michal Hocko X-Mailer: Apple Mail (2.3273) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8859 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804100199 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Apr 6, 2018, at 12:38 AM, Michal Hocko wrote: > > On Thu 05-04-18 23:25:14, Buddy Lumpkin wrote: >> >>> On Apr 4, 2018, at 11:10 PM, Michal Hocko wrote: >>> >>> On Wed 04-04-18 21:49:54, Buddy Lumpkin wrote: >>>> v2: >>>> - Make update_kswapd_threads_node less racy >>>> - Handle locking for case where CONFIG_MEMORY_HOTPLUG=n >>> >>> Please do not repost with such a small changes. It is much more >>> important to sort out the big picture first and only then deal with >>> minor implementation details. The more versions you post the more >>> fragmented and messy the discussion will become. >>> >>> You will have to be patient because this is a rather big change and it >>> will take _quite_ some time to get sorted. >>> >>> Thanks! >>> -- >>> Michal Hocko >>> SUSE Labs >>> >> >> >> Sorry about that, I actually had three people review my code internally, >> then I managed to send out an old version. 100% guilty of submitting >> code when I needed sleep. As for the change, that was in response >> to a request from Andrew to make the update function less racy. >> >> Should I resend a correct v2 now that the thread exists? > > Let's just discuss open questions for now. Specifics of the code are the > least interesting at this stage. > > If you want some help with the code review, you can put it somewhere in > the git tree and send a reference for those who are interested. > -- > Michal Hocko > SUSE Labs Ok, I will go back through the thread and make sure all questions and concerns have been addressed.