From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753340AbeDJUX6 (ORCPT ); Tue, 10 Apr 2018 16:23:58 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:43700 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752535AbeDJUX4 (ORCPT ); Tue, 10 Apr 2018 16:23:56 -0400 X-Google-Smtp-Source: AIpwx4+PiA5IsX8Xk3icEAREXc/b2MXj5oRFcGtKCF1pHJ3dNSV6t496JXJprbzeOuGZ5tTfe60jmA== Date: Tue, 10 Apr 2018 13:23:53 -0700 From: Tejun Heo To: Vlastimil Babka Cc: Christopher Lameter , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Joonsoo Kim , David Rientjes , Pekka Enberg , Lai Jiangshan , John Stultz , Thomas Gleixner , Stephen Boyd Subject: Re: [RFC] mm, slab: reschedule cache_reap() on the same CPU Message-ID: <20180410202353.GB793541@devbig577.frc2.facebook.com> References: <20180410081531.18053-1-vbabka@suse.cz> <983c61d1-1444-db1f-65c1-3b519ac4d57b@suse.cz> <20180410195247.GQ3126663@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Apr 10, 2018 at 10:13:33PM +0200, Vlastimil Babka wrote: > > For percpu work items, they'll keep executing on the same cpu it > > started on unless the cpu goes down while executing. > > Right, but before this patch, with just schedule_delayed_work() i.e. > non-percpu? If such work can migrate in the middle, the slab bug is > potentially much more serious. That's still per-cpu. The only time the local binding breaks is when the kernel is explicitly told to do so through explicit unbound_mask or force_rr debug option. Thanks. -- tejun