Received: by 10.213.65.68 with SMTP id h4csp4349287imn; Tue, 10 Apr 2018 13:27:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/h8lo2FVmIsRsG3QwJOW3KaOJ3uP/qriWUO1Y8kfLBnBLxNOURNn2qtb3b7w72fglOZlmO X-Received: by 10.98.118.130 with SMTP id r124mr1540649pfc.238.1523392061044; Tue, 10 Apr 2018 13:27:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523392061; cv=none; d=google.com; s=arc-20160816; b=1EEvLAZuuX1aZniqwRFB5jSaE6SRURApIDMveSxiyih3yZTJQqvPbSJqPOO/ofu6BF ZQIJkfoR+VD7mhtf6MUPnZ06Hn+Svs/9koE7h5UGpr5SDsGvR2bBp5CYvDyt9uet4NQY RNkB6naXhCAoRtFAS3liPqOU0FuM0aT6xlEYxZYayrn9PH7o/sWKbH2KmeSm+svrGQCJ 7ym0MePiwALltsh1CCnQn3Z+1/lCwptSb2IBrU0H94ZcBZ7nNgsKTKRahzSTtMYEghxg WbVRul1qYDbhtsKDGkprCXMcsG7ve0oBjU7MBBBuHFokBxkuLud0AG5GT0XSIBIaaJ1+ LUQA== 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:dkim-signature:arc-authentication-results; bh=c3KcGrmD+zZBq4nCOEsXfG8hLki67ocqJUMKPfslVmo=; b=AgNujwU7CE215dAG6NCNIrZovOABPmBCmt8WzvLmxw9yYy4hNO7vqblzV0aNy9w5wK sTVqQ+B8Q96kAFNgfEIkQtk2jO1QQ0L8K+ZAr3eVfenhyak+e/4NT/d7L4V4puibtDub GqQM2SOk7IMTrb4Kz4kmpt/Cpn8CLW8HIwmT0qr721rUPlwNCdRupEhuQv5Ai/qr+012 gFvXmuhyvoNKBRV4mw/GoD/4IBJjO+UyJFa3bPTBEP7/ejZmehRJuypSoR57YdXp+r6u Z/QZcb7T4k5ppx8rwNmv1zQXORydHcXMrpyfumVylekdbMayd7YcaqvaAOjX2zLl3psh 7xIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=NqznW+Wa; 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 a33-v6si3286331pla.618.2018.04.10.13.27.03; Tue, 10 Apr 2018 13:27:41 -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=fail header.i=@gmail.com header.s=20161025 header.b=NqznW+Wa; 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 S1753251AbeDJUX6 (ORCPT + 99 others); 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 Received: by mail-yb0-f193.google.com with SMTP id z5-v6so4778708ybo.10 for ; Tue, 10 Apr 2018 13:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=c3KcGrmD+zZBq4nCOEsXfG8hLki67ocqJUMKPfslVmo=; b=NqznW+Wauq4yZ8pv8B+A4c0h0IvRtSoFgWMbO+K6mB0kwT01OJZTOXobt4X5dihRls Wx0i1Y058RXVcqDRX71Yq7dC/OmKjtqzQ+TqcRJnYJV4siTf4uyeitH6lnHeHVUkDf+X LpJOqOsDsMhkhfT6HMaWlaLt4Rnf9usApjeytQcOl6cPG4r2SZd7jH7Rrx9Y8ExLhSkK 8Tb8tb4tAZpTVpsGPP39kSFPCk/CWukR/Q//bm8SWHgI9J+vS/d2zrEVOLivYbUp/sMa uBZ50pTmaLn7sQM06GZDjv4WZET1vYoZAjUWdU8z/zM5UD7PxvAWDUS7bEvCWMA8WtD7 em8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=c3KcGrmD+zZBq4nCOEsXfG8hLki67ocqJUMKPfslVmo=; b=beWQ8nLTDIvgRAS3vyT1PJ0CQS/yo4c78tRTVJKFtgRbftISihJul+aYW4oyhB176n Gvy6IZD0UJehpvzSZJ6sMnM63bAf1ic106HL+gcegEMQuz4H5bsg/l52N5tojTOwo2dY fTmPpDnFUs5Ult6vsDq9Ly7qfu/BZM8b3dIKovB1hhwRXpveTO9xeHQOBajEKghlrHyy FCIZZ82up2wfra/sVnczFYTlq/ar3BU4KnJTeUCEGXJvQyfGdNER1t1Umh9KbdHycFd8 U7ZcsgoJCIrWaXRJiBI2kKp0sA8d9S37CvQUK4VzVHPkMM6aP0VgIFskVNY1z/oDqMe9 8cEw== X-Gm-Message-State: ALQs6tDy+zsP2phDT0tQFR2Dt7twtq0q75KqhuAWqcGbFfI10W63Za3C 63qbJMHLp3JU2tarNFtxy78= X-Received: by 2002:a25:2704:: with SMTP id n4-v6mr1140058ybn.167.1523391836084; Tue, 10 Apr 2018 13:23:56 -0700 (PDT) Received: from localhost ([2620:10d:c091:180::1:f676]) by smtp.gmail.com with ESMTPSA id 125sm1662421ywe.90.2018.04.10.13.23.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 13:23:55 -0700 (PDT) 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 Precedence: bulk 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