From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f198.google.com (mail-io0-f198.google.com [209.85.223.198]) by kanga.kvack.org (Postfix) with ESMTP id 607DD6B0069 for ; Sat, 17 Sep 2016 00:08:21 -0400 (EDT) Received: by mail-io0-f198.google.com with SMTP id g22so116487438ioj.1 for ; Fri, 16 Sep 2016 21:08:21 -0700 (PDT) Received: from smtprelay.hostedemail.com (smtprelay0248.hostedemail.com. [216.40.44.248]) by mx.google.com with ESMTPS id 130si14543797its.84.2016.09.16.21.08.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Sep 2016 21:08:20 -0700 (PDT) Message-ID: <1474085296.32273.95.camel@perches.com> Subject: Re: [REGRESSION] RLIMIT_DATA crashes named From: Joe Perches Date: Fri, 16 Sep 2016 21:08:16 -0700 In-Reply-To: References: <33304dd8-8754-689d-11f3-751833b4a288@redhat.com> Content-Type: text/plain; charset="ISO-8859-1" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds , Sam Varshavchik , Ingo Molnar Cc: Laura Abbott , Brent , Konstantin Khlebnikov , Andrew Morton , Cyrill Gorcunov , Christian Borntraeger , "linux-mm@kvack.org" , Linux Kernel Mailing List On Fri, 2016-09-16 at 17:040700, Linus Torvalds wrote: > On Fri, Sep 16, 2016 at 4:58 PM, Linus Torvalds wrote: > > Here's a totally untested patch. What do people say? > Heh. It looks like "pr_xyz_once()" is used in places that haven't > included "ratelimit.h", so this doesn't actually build for everything. > But I guess as a concept patch it's not hard to understand, even if > the implementation needs a bit of tweaking. do_just_once just isn't a good name for a global rate limited mechanism that does something very different than the name. Maybe allow_once_per_ratelimit or the like There could be an equivalent do_once https://lkml.org/lkml/2009/5/22/3 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org