From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 108C9C2D0E4 for ; Tue, 17 Nov 2020 18:04:07 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9A0522462E for ; Tue, 17 Nov 2020 18:04:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="eOEDmi1R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A0522462E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E17EF6B0070; Tue, 17 Nov 2020 13:04:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id DCA886B0073; Tue, 17 Nov 2020 13:04:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CB9A26B0075; Tue, 17 Nov 2020 13:04:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0153.hostedemail.com [216.40.44.153]) by kanga.kvack.org (Postfix) with ESMTP id 9C6A66B0070 for ; Tue, 17 Nov 2020 13:04:05 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 549A2180AD815 for ; Tue, 17 Nov 2020 18:04:04 +0000 (UTC) X-FDA: 77494684008.11.flag88_1412dab27333 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin11.hostedemail.com (Postfix) with ESMTP id 2CE1F180F8B82 for ; Tue, 17 Nov 2020 18:04:04 +0000 (UTC) X-HE-Tag: flag88_1412dab27333 X-Filterd-Recvd-Size: 2085 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf14.hostedemail.com (Postfix) with ESMTP for ; Tue, 17 Nov 2020 18:04:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=619K+O7tFjnvY1X+Yp+n3RL/AwEngm/qsfdjrSOv7dI=; b=eOEDmi1Rcn7j1RR+r+00F5CY1G UQ3+6+Cq7PDvwVAJFHaVNOI2gSfBBg2JxNGFzI2WGT3x0tZoPiugyie6W9GjxVktJcBxS+UusXkE7 /q4lkUV1G7BAtgR7EguV/aAQ5HfUbBIAQ0JT9zi1FUfJ9TlOZAYYKhpyo2KqeTqQAvSICEDMzHryo ElauecXSZzQm7h7RxcJ9VKLd9fCoyckD36r/6fXJjBenpWWbDfVuaje4Bggkml3S2sJnwEzSPne1O 59rIQwqwGgxebeqMx5ivY0QTNCwqTio9MnylHT46yQ0zoYqNu7jOaIbZEs2e2u0DgBbmw9ULf4uSA nUYdbWFw==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf5Ke-0008GS-Co; Tue, 17 Nov 2020 18:03:56 +0000 Date: Tue, 17 Nov 2020 18:03:56 +0000 From: Matthew Wilcox To: Marcelo Tosatti Cc: Christoph Lameter , linux-mm@kvack.org, Andrew Morton Subject: Re: [PATCH] mm: introduce sysctl file to flush per-cpu vmstat statistics Message-ID: <20201117180356.GT29991@casper.infradead.org> References: <20201117162805.GA274911@fuller.cnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201117162805.GA274911@fuller.cnet> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Nov 17, 2020 at 01:28:06PM -0300, Marcelo Tosatti wrote: > For isolated applications that busy loop (packet processing with DPDK, > for example), workqueue functions either stall (if the -rt app priority > is higher than kworker thread priority) or interrupt the -rt app > (if the -rt app priority is lower than kworker thread priority. This seems a bit obscure to expect an application to do. Can we make this happen automatically when we bind an rt task to a group of CPUs?