Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp48698ybe; Thu, 12 Sep 2019 15:24:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLGKu7XUQo/uS8gHObgwfGg8qk5QkgURB75fsciB30DC9z7XJIIylXbQ8kfcaTv/eDMEsZ X-Received: by 2002:a50:d556:: with SMTP id f22mr43482543edj.263.1568327072887; Thu, 12 Sep 2019 15:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568327072; cv=none; d=google.com; s=arc-20160816; b=Jgzz6vhbz+VK1vPGCedWnw1jFBKDhqembOV7CPMe4EjCCEGlVA51HoKUCf6nESjixx wN7Jyfk5b9/Ls6MeYH3DsTpmgHxXJE1Gpzm87hMvPTy0+wizf7ZwooVSYvwvIdOcf5hc B+sAPEt28Zbu1c6n+EuZtKCmVkwAecB4IoBuF9SCUaNo/On+uerq2GUItvT1yIeDxbT9 RNmNmQ3U7ImLGHMpaVE/z9G2pKP3D8LAhGTNAKsWFuzZ/5PlaOUzjjE//bbqm9nfodEx zso4eNqujl1xNp3/yk89CjcX5aYkRa2Aq2vIMcpB73BZAoZkjt4QOEePkYtrF5eGMYlu RBRg== 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; bh=/b+3OQviYV9Cx8Jpy6PR3N5EIJEAigHA55BiQ/S4UC0=; b=jmYEVpjbQpNsQsvGdNvFffQXTPyK7kdcniWIzpgaYs2KWUymTehB7w1X8IxdOyxgyz 40cOc1025Fl33AwcfCPe3KCwqoZQ0Q68ymoHq5d3NFlQG7sPa1gcrF8PPjlw56AyhVRS YYLqsVP1A5jJ1ZMzH5jD6DcIPrDfsm9WOhP7iXfoRQqoBHkmd/xPPU+xMG8Dq9f17rdO eWQMRw1XfMyl0L0JxYkTFmsKFCofwy13/d47mVdJ1s4TXUzfB9ryHnbb0z67SLqyb1PC RR1CwMOeRW7huhV8Kx6PtHmpZl8hqw5of83lK3DJtNID7y1vu2R6/NBkDInutTVU8qyj Fwhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KFHe5mls; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si13919771edh.407.2019.09.12.15.24.09; Thu, 12 Sep 2019 15:24:32 -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=@google.com header.s=20161025 header.b=KFHe5mls; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728426AbfILVMd (ORCPT + 99 others); Thu, 12 Sep 2019 17:12:33 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:38370 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728362AbfILVMd (ORCPT ); Thu, 12 Sep 2019 17:12:33 -0400 Received: by mail-io1-f65.google.com with SMTP id k5so32993437iol.5 for ; Thu, 12 Sep 2019 14:12:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/b+3OQviYV9Cx8Jpy6PR3N5EIJEAigHA55BiQ/S4UC0=; b=KFHe5mlsJrSAVOY+b8QtqMzWGp2l0mvHlF8idD7sMRkAzAt6gvMlVyI1dt7l0GVTEV r68o7XgMfPa45PBPj5KdLGLwcVZXgOvaF4DWBEvcTXj5rdvz12i9MXk4tReT7X1Bn37Z Q0Xl7qwt4RQNhE0qGpVL/URWy7Xe6hL2vRP9kE9ahRstwRsyqsa07e5TzJ7qVeg1dzMi Rj5VDtWA2m4T+zPp0Gwk5QOUQIQbi2EJ+J63BaXwMka0/j4KLnTQDp4/zSCJly/NMNQt Cx2VruA+FTJ9QV/VJ5W5Fz8WRikab+4vBv6sfkNBM536ic/0OzTs7wgpIcq9q3ca3l3u 9yOg== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/b+3OQviYV9Cx8Jpy6PR3N5EIJEAigHA55BiQ/S4UC0=; b=DqwTJ4XY8UPQGA7WTVU8H2oYcOCaF4Y/irM/L+/xrI4XfeHMAAsfOKrFM+IbIJWByG /EUd1uPsNoH4u1325TqOuWdtwPlBXNKxNpmjHJAWhCbJ/65lUYkmigo8nNHA7USkIO6o OvkZ2DQTkOZiEIle6YO5WZvSvS0vseJLRzMTpNZtzSHmK161qZ4yusG/rDQSLq9aZN9W OJ8B/DaHx9QeFCwhtu1rXj2eLbsran0PzVj3PZifAfBa51WYx1CZU2oGNtb6gZsFm8K1 6MowCdGFYnUT/SXSKrhoCaGl7eO/eMSnQasylyZtd9QGGtwOzb16qf7IRKpvmNM+xhqu B1cA== X-Gm-Message-State: APjAAAW7pWHuL5GB1ukxRBTbw516fTWmRg13NHU6SskE3WNMopq/fMJq HkmTgIWZnQJnm5S7vzoqz9UkaQ== X-Received: by 2002:a02:ca04:: with SMTP id i4mr14195989jak.134.1568322750797; Thu, 12 Sep 2019 14:12:30 -0700 (PDT) Received: from google.com ([2620:15c:183:0:9f3b:444a:4649:ca05]) by smtp.gmail.com with ESMTPSA id k66sm44404594iof.25.2019.09.12.14.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2019 14:12:30 -0700 (PDT) Date: Thu, 12 Sep 2019 15:12:26 -0600 From: Yu Zhao To: "Kirill A. Shutemov" Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Tetsuo Handa , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/4] mm: lock slub page when listing objects Message-ID: <20190912211226.GB146974@google.com> References: <20190912004401.jdemtajrspetk3fh@box> <20190912023111.219636-1-yuzhao@google.com> <20190912023111.219636-4-yuzhao@google.com> <20190912100642.57ycbflh5ykcgttu@box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190912100642.57ycbflh5ykcgttu@box> 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 On Thu, Sep 12, 2019 at 01:06:42PM +0300, Kirill A. Shutemov wrote: > On Wed, Sep 11, 2019 at 08:31:11PM -0600, Yu Zhao wrote: > > Though I have no idea what the side effect of such race would be, > > apparently we want to prevent the free list from being changed > > while debugging the objects. > > Codewise looks good to me. But commit message can be better. > > Can we repharase it to indicate that slab_lock is required to protect > page->objects? Will do.