Received: by 10.213.65.68 with SMTP id h4csp336820imn; Fri, 6 Apr 2018 00:39:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+dF0Hp07ZCVIt6Rjhtwk6k5BAodd52V131Zpa6w5QBlI7H/uGFP/krXkqqwNQri6O2H1Mj X-Received: by 2002:a17:902:69ce:: with SMTP id m14-v6mr26620865pln.358.1523000371979; Fri, 06 Apr 2018 00:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523000371; cv=none; d=google.com; s=arc-20160816; b=00dUquveRDDenQpgc54IA63N2LIQ/K2QqpBq1ZpQDuz53u6d7fy9JtldS8c7nK5uPm u6Dxy83xWMmtJogXkRYGoY2GQZRzgOTEwh1n6t5dgBxvgojSUZ8BNeSLm8P1YS1y4zd3 tclS00ZYTD+aqVgu3meOmJD0YH70cia/Ih3OzJj97O5oHBA68Yh7g/PMrDp5kS7y1Llz jOZtQ05qBWHtiTimRDsYLGQ4SBi0ezI/s8hgYqJC38lA0SkZ5tesgOVAtcW+MeUX421U fpOhXXRsJWy1aoTcLOhNlINPOtJRKfZUxHfWguq1Z0wfcu1OqFFP+CG3OH3yWPjd0nPR kQKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=JBi7/9O5N0xXlsbnNKMD8Uzbw7wI2jnok0hTdiBeWQc=; b=ELK/a+TKJ10jBQKuEuARuDxM1VDQcifGsovfGTALRk0t2vsHarh54tbSomP6bgd8Uu MusoCc9xKOqNbEV4exPiRqsQLmYe81JYKG1vdtMVTkLrpsU4T9Yx6mNbqseunFbxKu01 K+q91innXKhx69cpVxbFM5kjiJ3eRuc7Y2Bj8ppR4ghMn0ZdqB0Pw7HBzXkstjqTavBq hUCLNIcumVdRUZ9HBX2z/p5TmXXMP+d/DjKrYB1QqrhqwfOfOCR3sG7GLYYMqPo4zHdo 0OaPVpZjT9VVlPkcOv2fDvO6DUOCZn6zEoF5Yhz54IAjb9ObqDkCrI3NEe/BBiF+QCSN RVXQ== 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 n1si6695384pga.16.2018.04.06.00.39.17; Fri, 06 Apr 2018 00:39:31 -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 S1751399AbeDFHiN (ORCPT + 99 others); Fri, 6 Apr 2018 03:38:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:40236 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750815AbeDFHiM (ORCPT ); Fri, 6 Apr 2018 03:38:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 454DEAE00; Fri, 6 Apr 2018 07:38:11 +0000 (UTC) Date: Fri, 6 Apr 2018 09:38:09 +0200 From: Michal Hocko To: Buddy Lumpkin 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 Subject: Re: [RFC PATCH 1/1 v2] vmscan: Support multiple kswapd threads per node Message-ID: <20180406073809.GF8286@dhcp22.suse.cz> References: <1522878594-52281-1-git-send-email-buddy.lumpkin@oracle.com> <20180405061015.GU6312@dhcp22.suse.cz> <99DC1801-1ADC-488B-BA8D-736BCE4BA372@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99DC1801-1ADC-488B-BA8D-736BCE4BA372@oracle.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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