Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5310978imu; Tue, 29 Jan 2019 17:07:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ujVlMkR94gBzAOdQ2/AkGN6b9blibC2L4139YSNuIothdA74Ez65GvYXGuyaUN1rg6dbz X-Received: by 2002:a17:902:2c03:: with SMTP id m3mr29327645plb.125.1548810454752; Tue, 29 Jan 2019 17:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548810454; cv=none; d=google.com; s=arc-20160816; b=UXcaZRFKAY/ADdZ+Nk9VZgK7+5QXNwrHELzIBxv3wFkF/LubHTT2cg8/ntrU6gH1xG ndI8qmGtd7EvAN/xG+AuOJoznpLTWckzR3Isz+jWOQnXXU/ar5WSyeg4FJI92a/sPDqE iZ3IkOQjv1jWTwlVqQSMnQlYAJ9erWy8iXtjIXJLkpf7y3q5/gDUhE+Al8NeUu98igRD YbMD65eusrXSuy+CeKYKNOY2eljtg4REULohGn2847kYAKm0cFkCjTEKSWOQb0iAm3eu bAm+LmcFBPsFxrFc8sfNiEdaPVcmwf0SAFhS061bW9LQcNASqUKy+1t75TKvewpGUH4H oZPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:mime-version:references :in-reply-to:subject:cc:to:from; bh=KCfxyw28pJTkT4Pxa5YE6ES0HyYW9dDOm+XE6a0guVM=; b=UUkAgxONVwo0zw7jRu9Kqoq4bBXz3cyTvEH9X3GB0vwWgxML9eHUJT06hnkuLLjaEe oJejv7WBa2iCpJVZtn+AVkON7vAcrlVKjFGEFEWAU9wsJpYe3vumMpxqOrhWrZwPcsqV fA0PkfP7hueIjRx2fOMLTv5rhHbz/qz0tod84TgJQwdjyHmE4+T6p4kuhByl2fLAYr5D ureLYtMQLMKMi3uXxWF6jdLjzEF3pPd444BchvFwT5Y9BLf/Lp6UAkKZdCj/aDcG4eHt GjSz2TdddykxWaufGmnoDEbLlTIaqql3D8og/TGS4J4ufiorDoHuybjzOZ/hMGTukQ0X n+ag== 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=vt.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si6293pgj.214.2019.01.29.17.07.19; Tue, 29 Jan 2019 17:07:34 -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=vt.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727640AbfA3BGs (ORCPT + 99 others); Tue, 29 Jan 2019 20:06:48 -0500 Received: from outbound.smtp.vt.edu ([198.82.183.121]:39454 "EHLO omr2.cc.vt.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726693AbfA3BGs (ORCPT ); Tue, 29 Jan 2019 20:06:48 -0500 Received: from mr4.cc.vt.edu (mr4.cc.ipv6.vt.edu [IPv6:2607:b400:92:8300:0:7b:e2b1:6a29]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x0U16lFn001290 for ; Tue, 29 Jan 2019 20:06:47 -0500 Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by mr4.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x0U16gkR014393 for ; Tue, 29 Jan 2019 20:06:47 -0500 Received: by mail-qt1-f198.google.com with SMTP id w18so26607734qts.8 for ; Tue, 29 Jan 2019 17:06:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:date:message-id; bh=KCfxyw28pJTkT4Pxa5YE6ES0HyYW9dDOm+XE6a0guVM=; b=KUoqu0Fx5CktN8QsXjxsf5hwRzErEXAbYt5m8B9kifGrTFYN5mAgmEcVjVF0DQoyMB 1tmMIHYxZ30I1sVm1M/RGEfzYoegbB8ZVSkOyhWWHfQUZrq0gfMgubld5P0EwTbAvXzo ufP5ptY5q2lbYr4vtNIUVmq0z/I4FgsOLHq0fW0WU0zzVApBbL+wiGk9tP8UXNkLHM74 ZirqNyo35O8KYy5EiFL2eFYKT9nwBpqbBoBA4Oyvb0cbDcYFlZ9s7t8fQwuGQL5xXn/T Hj34+4+B3UXXEoZyKQqnUGNd30dybh7dNbQbXL5RVJiJh3rFuL9OSTD97bmHcoru5MRr VMJQ== X-Gm-Message-State: AJcUukcIcBxD/oN1RY7JiA0I+OqUemwo0itueGYYAJFB7Jpplxzirbuf VQ3ZW8sJXKtgZsW1af9oSqWP4mS/5gXvJeT0sMeIG3NeHlhGKQTPd0LhqMz6t6TnG0TjQCKWDHg YOTUKKL75ocRkKLT8/5tkmx1IlvTFjnDUSG4= X-Received: by 2002:a0c:f8cb:: with SMTP id h11mr27142555qvo.134.1548810402116; Tue, 29 Jan 2019 17:06:42 -0800 (PST) X-Received: by 2002:a0c:f8cb:: with SMTP id h11mr27142544qvo.134.1548810401911; Tue, 29 Jan 2019 17:06:41 -0800 (PST) Received: from turing-police.cc.vt.edu ([2601:5c0:c001:4341::936]) by smtp.gmail.com with ESMTPSA id r47sm3631qtc.77.2019.01.29.17.06.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jan 2019 17:06:40 -0800 (PST) From: valdis.kletnieks@vt.edu X-Google-Original-From: Valdis.Kletnieks@vt.edu X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Jan Kara cc: Pavel Machek , Mel Gorman , kernel list , Andrew Morton , vbabka@suse.cz, aarcange@redhat.com, rientjes@google.com, mhocko@kernel.org, zi.yan@cs.rutgers.edu, hannes@cmpxchg.org Subject: Re: [regression -next0117] What is kcompactd and why is he eating 100% of my cpu? In-reply-to: <20190128091627.GA27972@quack2.suse.cz> References: <20190126200005.GB27513@amd> <12171.1548557813@turing-police.cc.vt.edu> <20190127141556.GB9565@techsingularity.net> <20190127160027.GA9340@amd> <13417.1548624994@turing-police.cc.vt.edu> <20190128091627.GA27972@quack2.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Jan 2019 20:06:39 -0500 Message-ID: <14875.1548810399@turing-police.cc.vt.edu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 Jan 2019 10:16:27 +0100, Jan Kara said: > So my buffer_migrate_page_norefs() is certainly buggy in its current > incarnation (as a result block device page cache is not migratable at all). > I've sent Andrew a patch over week ago but so far it got ignored. The patch > is attached, can you give it a try whether it changes something for you? > Thanks! Been running with the patch for about 24 hours, haven't seen kcompactd misbehave. I even fired up a Chrome with a lot of tabs open, a Firefox, and a kernel build, intentionally drove the system into swapping, and kcompactd didn't make it into the top 10 on 'top'. I'm willing to say put a "tested-by:" on that one, it looks fixed from here. If there's any remaining bugs, they're ones I can't seem to trigger...