Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1485503
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Konstantin Khlebnikov <koct9i@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [REGRESSION] RLIMIT_DATA crashes named |
| Date | Sat, 17 Sep 2016 10:40:01 +0200 |
| Message-ID | <sijkd-ei-1@gated-at.bofh.it> (permalink) |
| References | <si35L-6q0-15@gated-at.bofh.it> <si5qW-7Rv-25@gated-at.bofh.it> <si7M6-1bq-29@gated-at.bofh.it> <si85r-1i1-3@gated-at.bofh.it> <si9Xz-2wp-1@gated-at.bofh.it> <sibcZ-3e3-1@gated-at.bofh.it> <sibmF-3x5-1@gated-at.bofh.it> <sif6W-61z-9@gated-at.bofh.it> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9/gaVIElUTlDvpIhMWBxIWfMVQ9eg1TLuGparHm0CXg=; b=wVb5eQ69A0G4rEEG6Cz5gq9xi/3/5XtC2mxYWDwSq9iWm1gL6fLbq8Lv8HstO2GRkj 4RAZpDSIrJup34NKvmvHGNgIZWmu6UimExfKQ/K+0u52Wcxb/sNwWkmkltCduilyDLaP h+4cWVf6ivpzL0nWu0+LedRncxo1vV3hWgNdvhKeRcJA3UpIE+FeIM2S2UZwwE4slenX okuYqf0otdo/SAZFjXdqtDOecHvawC3ACniuSugDpeiBTI9BD9zgBiS3fvNem5+qr+cT uIULPs8wNdJ+LPNonp45MGR0zNPRe33ayA/0GMozD1dGFEReIC9Qq/SNd0Ibc6hqLBVT B28A== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9/gaVIElUTlDvpIhMWBxIWfMVQ9eg1TLuGparHm0CXg=; b=etXHka3ey8+bX8zVitjuLH5Kr5K4QcSCKmmRGVwwd9TZneA65ZAZ3YN5bE9j0dvhem BVybibDGMgfctlax7K1uObYAmuz8dFVSFaho6KDQgLVPC/mQilhSfMphW++1sv4TLJIg yPnnL9HGjxoA6tmT8a3NUcPrHTe7DKJe59tK/1gEgI3noVyi7KTUIkuTCZT7QYMI37Rh TTrR7upmqTXzL+NTMOkEp4JJRDkVs/UgWA3b3NQIYkOYZ1KYZUbJWNMGJupTt48zAwVf rWdCHJDAKbhmAoCqRnxI+KjYFPyhelEfu9Md3uuKctfbfntjwfX+nDEKYITOSTeo/rXY 51+g== |
| X-Gm-Message-State | AE9vXwM7pilzAF0iCTTZ+iuz8O2f72PP2rZSo+qIllwQZQwK2Xxy+VbL8w9B7B1C7t17ENAHQ2vVkIZ3zFLgQQ== |
| X-Received | by 10.46.32.28 with SMTP id g28mr5119106ljg.40.1474101237379; Sat, 17 Sep 2016 01:33:57 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary=001a1142b6369e0ab7053caff0e7 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 77 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Linus Torvalds <torvalds@linux-foundation.org>, Sam Varshavchik <mrsam@courier-mta.com>, Ingo Molnar <mingo@kernel.org>, Laura Abbott <labbott@redhat.com>, Brent <fix@bitrealm.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> |
| X-Original-Date | Sat, 17 Sep 2016 11:33:56 +0300 |
| X-Original-Message-ID | <CALYGNiNuF1Ggy=DyYG32HXbnJp3Q0cX9ekQ5w2jR1M9rkKaX9A@mail.gmail.com> |
| X-Original-References | <33304dd8-8754-689d-11f3-751833b4a288@redhat.com> <CA+55aFyfny-0F=VKKe6BCm-=fX5b08o1jPjrxTBOatiTzGdBVg@mail.gmail.com> <d4e15f7b-fedd-e8ff-539f-61d441b402cd@redhat.com> <CA+55aFzWts-dgNRuqfwHu4VeN-YcRqkZdMiRpRQ=Pg91sWJ=VQ@mail.gmail.com> <cone.1474065027.299244.29242.1004@monster.email-scan.com> <CA+55aFwPNBQePQCQ7qRmvn-nVaEn2YVsXnBFc5y1UVWExifBHw@mail.gmail.com> <CA+55aFy-mMfj3qj6=WMawEUGEkwnFEqB_=S6Pxx3P_c58uHW2w@mail.gmail.com> <1474085296.32273.95.camel@perches.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1485503 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Sat, Sep 17, 2016 at 7:08 AM, Joe Perches <joe@perches.com> wrote: > 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 > What about this printk_reriodic() and pr_warn_once_per_minute()? It simply remembers next jiffies to print rather than using that complicated ratelimiting engine.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[REGRESSION] RLIMIT_DATA crashes named Laura Abbott <labbott@redhat.com> - 2016-09-16 17:20 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-16 19:50 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Laura Abbott <labbott@redhat.com> - 2016-09-16 22:20 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-16 22:40 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Sam Varshavchik <mrsam@courier-mta.com> - 2016-09-17 00:40 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-17 02:00 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Linus Torvalds <torvalds@linux-foundation.org> - 2016-09-17 02:10 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Joe Perches <joe@perches.com> - 2016-09-17 06:10 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Konstantin Khlebnikov <koct9i@gmail.com> - 2016-09-17 10:40 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Cyrill Gorcunov <gorcunov@gmail.com> - 2016-09-17 11:20 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Konstantin Khlebnikov <koct9i@gmail.com> - 2016-09-17 14:10 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Cyrill Gorcunov <gorcunov@gmail.com> - 2016-09-17 14:30 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Konstantin Khlebnikov <koct9i@gmail.com> - 2016-09-17 23:50 +0200
Re: [REGRESSION] RLIMIT_DATA crashes named Joe Perches <joe@perches.com> - 2016-09-18 00:00 +0200
csiph-web