All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Sam Varshavchik <mrsam@courier-mta.com>,
	Ingo Molnar <mingo@kernel.org>
Cc: Laura Abbott <labbott@redhat.com>, Brent <fix@bitrealm.com>,
	Konstantin Khlebnikov <koct9i@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Cyrill Gorcunov <gorcunov@openvz.org>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [REGRESSION] RLIMIT_DATA crashes named
Date: Fri, 16 Sep 2016 21:08:16 -0700	[thread overview]
Message-ID: <1474085296.32273.95.camel@perches.com> (raw)
In-Reply-To: <CA+55aFy-mMfj3qj6=WMawEUGEkwnFEqB_=S6Pxx3P_c58uHW2w@mail.gmail.com>

On Fri, 2016-09-16 at 17:040700, Linus Torvalds wrote:
> On Fri, Sep 16, 2016 at 4:58 PM, Linus Torvalds <torvalds@linux-foundation.org> 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Joe Perches <joe@perches.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Sam Varshavchik <mrsam@courier-mta.com>,
	Ingo Molnar <mingo@kernel.org>
Cc: Laura Abbott <labbott@redhat.com>, Brent <fix@bitrealm.com>,
	Konstantin Khlebnikov <koct9i@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Cyrill Gorcunov <gorcunov@openvz.org>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [REGRESSION] RLIMIT_DATA crashes named
Date: Fri, 16 Sep 2016 21:08:16 -0700	[thread overview]
Message-ID: <1474085296.32273.95.camel@perches.com> (raw)
In-Reply-To: <CA+55aFy-mMfj3qj6=WMawEUGEkwnFEqB_=S6Pxx3P_c58uHW2w@mail.gmail.com>

On Fri, 2016-09-16 at 17:040700, Linus Torvalds wrote:
> On Fri, Sep 16, 2016 at 4:58 PM, Linus Torvalds <torvalds@linux-foundation.org> 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

  reply	other threads:[~2016-09-17  4:08 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-16 15:16 [REGRESSION] RLIMIT_DATA crashes named Laura Abbott
2016-09-16 15:16 ` Laura Abbott
2016-09-16 17:46 ` Linus Torvalds
2016-09-16 17:46   ` Linus Torvalds
2016-09-16 20:10   ` Laura Abbott
2016-09-16 20:10     ` Laura Abbott
2016-09-16 20:32     ` Linus Torvalds
2016-09-16 20:32       ` Linus Torvalds
2016-09-16 22:30       ` Sam Varshavchik
2016-09-16 22:30         ` Sam Varshavchik
2016-09-16 23:58         ` Linus Torvalds
2016-09-17  0:04           ` Linus Torvalds
2016-09-17  0:04             ` Linus Torvalds
2016-09-17  4:08             ` Joe Perches [this message]
2016-09-17  4:08               ` Joe Perches
2016-09-17  8:33               ` Konstantin Khlebnikov
2016-09-17  9:09                 ` Cyrill Gorcunov
2016-09-17  9:09                   ` Cyrill Gorcunov
2016-09-17 12:09                   ` Konstantin Khlebnikov
2016-09-17 12:09                     ` Konstantin Khlebnikov
2016-09-17 12:20                     ` Cyrill Gorcunov
2016-09-17 12:20                       ` Cyrill Gorcunov
2016-09-17 21:40                       ` Konstantin Khlebnikov
2016-09-17 21:52                         ` Joe Perches
2016-09-17 21:52                           ` Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1474085296.32273.95.camel@perches.com \
    --to=joe@perches.com \
    --cc=akpm@linux-foundation.org \
    --cc=borntraeger@de.ibm.com \
    --cc=fix@bitrealm.com \
    --cc=gorcunov@openvz.org \
    --cc=koct9i@gmail.com \
    --cc=labbott@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@kernel.org \
    --cc=mrsam@courier-mta.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.