Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1453725
| From | Alexander Potapenko <glider@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kasan: avoid overflowing quarantine size on low memory systems |
| Date | 2016-08-02 12:30 +0200 |
| Message-ID | <s1F7r-36W-19@gated-at.bofh.it> (permalink) |
| References | <s1n0R-7W5-1@gated-at.bofh.it> <s1EO6-30z-7@gated-at.bofh.it> <s1EO6-30z-5@gated-at.bofh.it> <s1EO6-30z-33@gated-at.bofh.it> <s1F7r-36W-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Aug 2, 2016 at 12:23 PM, Andrey Ryabinin <aryabinin@virtuozzo.com> wrote: > > > On 08/02/2016 01:07 PM, Alexander Potapenko wrote: >> On Tue, Aug 2, 2016 at 12:05 PM, Dmitry Vyukov <dvyukov@google.com> wrote: >>> On Tue, Aug 2, 2016 at 12:00 PM, Andrey Ryabinin >>>> >>>> Why WARN? I'd suggest pr_warn_once(); >>> >>> >>> I would suggest to just do something useful. Setting quarantine >>> new_quarantine_size to 0 looks fine. >>> What would user do with this warning? Number of CPUs and amount of >>> memory are generally fixed. Why is it an issue for end user at all? We >>> still have some quarantine per-cpu. A WARNING means a [non-critical] >>> kernel bug. E.g. syzkaller will catch each and every boot of such >>> system as a bug. >> How about printk_once then? >> Silently setting the quarantine size to zero may puzzle the user. >> > > Nope, user will not notice anything. So keeping it silent would be better. > Plus it's very unlikely that this will ever happen in real life. > Ok, I've sent out v2, please take a look. -- Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Straße, 33 80636 München Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] kasan: avoid overflowing quarantine size on low memory systems Alexander Potapenko <glider@google.com> - 2016-08-01 17:10 +0200
Re: [PATCH] kasan: avoid overflowing quarantine size on low memory systems Andrew Morton <akpm@linux-foundation.org> - 2016-08-01 22:50 +0200
Re: [PATCH] kasan: avoid overflowing quarantine size on low memory systems Dmitry Vyukov <dvyukov@google.com> - 2016-08-02 12:10 +0200
Re: [PATCH] kasan: avoid overflowing quarantine size on low memory systems Alexander Potapenko <glider@google.com> - 2016-08-02 12:10 +0200
Re: [PATCH] kasan: avoid overflowing quarantine size on low memory systems Alexander Potapenko <glider@google.com> - 2016-08-02 12:30 +0200
Re: [PATCH] kasan: avoid overflowing quarantine size on low memory systems Dmitry Vyukov <dvyukov@google.com> - 2016-08-02 12:30 +0200
Re: [PATCH] kasan: avoid overflowing quarantine size on low memory systems Alexander Potapenko <glider@google.com> - 2016-08-02 12:10 +0200
csiph-web