Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622479
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage |
| Date | 2017-04-12 20:50 +0200 |
| Message-ID | <tvvv5-81S-45@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <tui6T-1tb-21@gated-at.bofh.it> <tuzAJ-4sI-3@gated-at.bofh.it> <tuMxY-4vz-11@gated-at.bofh.it> <tuT6q-mh-13@gated-at.bofh.it> <tv6Q2-Us-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Wed 2017-04-12 01:19:53, Sergey Senozhatsky wrote: > On (04/11/17 10:46), Sergey Senozhatsky wrote: > > On (04/10/17 20:48), Pavel Machek wrote: > > [..] > > > > but, once again, I see your point. > > > > > > Good. Does that mean that the next version of patches will work ok in > > > that case? > > > > yes. > > ok... so I'm looking at something like below right now. > not really tested yet. > > I put some comments into the code. > > it does offloading after X printed lines by the same process. > if we reschedule, then the counter resets. which is probably OK, > we don't really want any process, except for printk_kthread, to > stay in console_unlock() forever. "number of lines printed" is > probably easier to understand (easily converted to the number of > pageup/pagedown you need to press, terminal buffer history size, > etc.) than seconds we spent on printing (which doesn't even > correspond to messages' timestamps in general case). Design looks good to me... certainly better than previous version :-). > when the limit of "number of lines printed" is 0, then no > offloading takes place. And with "number of lines printed" set to 999999, it will get us previous behaviour, right? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Pavel Machek <pavel@ucw.cz> - 2017-04-10 20:50 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-11 03:50 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2017-04-11 18:30 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Pavel Machek <pavel@ucw.cz> - 2017-04-12 20:50 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-13 06:40 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-13 08:00 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-13 10:30 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Petr Mladek <pmladek@suse.com> - 2017-04-13 16:10 +0200
Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2017-04-14 06:50 +0200
csiph-web