From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933656AbeBVSH0 (ORCPT ); Thu, 22 Feb 2018 13:07:26 -0500 Received: from mail-io0-f177.google.com ([209.85.223.177]:35509 "EHLO mail-io0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933441AbeBVSHZ (ORCPT ); Thu, 22 Feb 2018 13:07:25 -0500 X-Google-Smtp-Source: AH8x225ybTvH8KL0lgXqwnin61E11jAeVt0ME1bQgHT7ox2kOdzt7k91tLclRc6AVHtHckslOpJG9z1HTr8+06r7h+M= MIME-Version: 1.0 In-Reply-To: <20180222175411.xzx2d2r2fahn7llo@agluck-desk> References: <3908561D78D1C84285E8C5FCA982C28F7B37F130@ORSMSX110.amr.corp.intel.com> <20180222014505.2l76ccrrs36y3b26@agluck-desk> <3908561D78D1C84285E8C5FCA982C28F7B37FE28@ORSMSX110.amr.corp.intel.com> <612E894E-62C8-4155-AED8-D53702EDC8DC@intel.com> <20180222171506.wwsichkiyc5f74pr@agluck-desk> <20180222175411.xzx2d2r2fahn7llo@agluck-desk> From: Linus Torvalds Date: Thu, 22 Feb 2018 10:07:23 -0800 X-Google-Sender-Auth: 1n2ccJ3L__WM7ZCPydGtLmGEDe4 Message-ID: Subject: Re: [PATCH v2] efivarfs: Limit the rate for non-root to read files To: "Luck, Tony" Cc: Andi Kleen , Ard Biesheuvel , Joe Konno , "linux-efi@vger.kernel.org" , Linux Kernel Mailing List , Jeremy Kerr , Matthew Garrett , Peter Jones , Andy Lutomirski , James Bottomley Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 9:54 AM, Luck, Tony wrote: > With the new "while/nap" change there would still be one message > per second, but the number of callbacks suppressed should be 1 > (unless the user has many threads doing reads). > > Maybe it is good to know that an application is doing something > stupid and we should drop that line from the patch and let the > warnings flow? I think the "one message per second" is fine. Looks good. Do I get this through the EFI tree, or should I just take it directly? Linus