Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3532818imb; Tue, 5 Mar 2019 11:51:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzUdwTAZ2uxQAeA3EzUKZ8FXU77KmKjBrDUMKRyrcj1rZkOe4ibwQR1+RTT40PN1p3HbK9z X-Received: by 2002:a17:902:298a:: with SMTP id h10mr2994044plb.312.1551815503520; Tue, 05 Mar 2019 11:51:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551815503; cv=none; d=google.com; s=arc-20160816; b=VajavZ2D6Ty1+zErGceouYgUffQMdW0w0I36AKDRo5EIa0EovzRKi/Eep26pmzTQOS 6LC3EP6DynYbIYfB3f6qSOXBMixxhqYeDHsLLO7FeP2s8B3RJ4mEPIVYf4zuh2v78HSG iZw1eATBjjqB2+Xe2MJP5en3BO+15ItBLq8Nmv8X6rkwx8aFvaLocpiWTYx76pXmK1Rb Xdkuk4JqeqWsqlaHNhy6zCsc8yvy9i+A6Ykp09gJNCesfSBCKhd9CO9iSVNfRf6FitbZ ZoKXmOlYFWr4PeTznJjgnD96RKcWpfa9h7Di6aMOv3i3MIJSvIF2Bu1JjZgRD7c/sGkA W/uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=ehdkH0KE6+YH0FPchCPYSb07PtIF6/HuwVRuSu2qWlY=; b=lLKGoMe3KA6hVfBKkO+lMQi2fZiVi1PxovxSor0OXNDvfIOXX8xYqVlA/ZBNa+u9x5 w1jrMR1gfmFmr+NbV0K6zKkrk/EQD73N+kI/m9b3D6YvKfTx+fuOM7xFvZblnLEC8Mj+ Zmk/SISo/xz68V2UlGTdxSkhf9IGsUjm9sDgXa+NR8pSSPSRdHqIXoFCbjfdNRnmFOm3 99z6M/vsC5VnLMnQIhUV1udUbTA1C+g3S2DJvwm1mcpEEPWYgKS5GqL3uPv4Bb6vLDNQ vDC9l0P9H+UdK41AMatbvP9cacCPDDRZo3URpNWaoayJ87iTYJfcqE6TbiW0k98MNpp9 W2Fg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cs19si9495763plb.431.2019.03.05.11.51.28; Tue, 05 Mar 2019 11:51:43 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726898AbfCETqF (ORCPT + 99 others); Tue, 5 Mar 2019 14:46:05 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:44122 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726695AbfCETqF (ORCPT ); Tue, 5 Mar 2019 14:46:05 -0500 Received: by mail-yw1-f67.google.com with SMTP id x21so7922564ywx.11 for ; Tue, 05 Mar 2019 11:46:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=ehdkH0KE6+YH0FPchCPYSb07PtIF6/HuwVRuSu2qWlY=; b=pzHIgJOdrjsRPtyr8W4fLUBAv1MTzASOdtgcbEqqRVrECMQxWVSvrP38WebbfgqBqO IHBHsGhy08dSFo5LR4Vdwg3xNOELKekdsL67SfJ7l6cY7fPTBiEocH1YIifnYrmzcEa3 nQR0T7K1eKEZ0tj8oX6Bua2kxASG9+0e89Hu0JmdhygMEqnaVMUz9G0i/FbklZDKIQ5M nbRzOgiMRdAu2lTMuEr/IGiMPUWlDmsYXDA9BZgKvx65qOC8xaY5PeV6Ia8ikhPk2wFT zUfQF334o/u8MCGh+BlDJ0Nt0ZT1IAfdm2Y90zROR+UiDLWfdbV7IMemHDr5W2DEN7Bs xTkQ== X-Gm-Message-State: APjAAAVSiim1/46S69feLrgPGEbqhgjvlO+1iPnNQ/fJfWhridNKccWC 0+jBVTVC2OmLUdDu/E9zRmrl0GwF X-Received: by 2002:a25:2406:: with SMTP id k6mr3665144ybk.281.1551815164248; Tue, 05 Mar 2019 11:46:04 -0800 (PST) Received: from dennisz-mbp.dhcp.thefacebook.com ([2620:10d:c091:200::ff62]) by smtp.gmail.com with ESMTPSA id 205sm3462140ywd.15.2019.03.05.11.46.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 11:46:03 -0800 (PST) Date: Tue, 5 Mar 2019 14:46:00 -0500 From: Dennis Zhou To: Linus Torvalds , linux-kernel@vger.kernel.org Cc: Tejun Heo , Christoph Lameter Subject: [GIT PULL] percpu changes for v5.1-rc1 Message-ID: <20190305194600.GA4595@dennisz-mbp.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, There are 2 minor changes to the percpu allocator this merge window: * for loop condition that could be out of bounds on multi-socket UP * cosmetic removal of pcpu_group_offsets[0] in UP code as it is 0 There has been an interest in having better alignment with percpu allocations. This has caused a performance regression in at least 1 reported workload. I have a series out which adds scan hints to the allocator as well as some other performance oriented changes. I hope to have this queued for v5.2 soon. Thanks, Dennis The following changes since commit a3b22b9f11d9fbc48b0291ea92259a5a810e9438: Linux 5.0-rc7 (2019-02-17 18:46:40 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-5.1 for you to fetch changes up to 1b046b445c0f856c3c1eed38a348bd87cc2dc730: percpu: km: no need to consider pcpu_group_offsets[0] (2019-02-26 13:47:58 -0800) ---------------------------------------------------------------- Peng Fan (2): percpu: use nr_groups as check condition percpu: km: no need to consider pcpu_group_offsets[0] mm/percpu-km.c | 2 +- mm/percpu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)