[PATCH v4 4/4] printk: use the lockless ringbuffer

2020-07-15 Thread John Ogness
Replace the existing ringbuffer usage and implementation with lockless ringbuffer usage. Even though the new ringbuffer does not require locking, all existing locking is left in place. Therefore, this change is purely replacing the underlining ringbuffer. Changes that exist due to the ringbuffer r

Re: [PATCH v4 4/4] printk: use the lockless ringbuffer

2020-07-15 Thread kernel test robot
Hi John, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.8-rc4 next-20200708] [cannot apply to pmladek/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH v4 4/4] printk: use the lockless ringbuffer

2020-07-15 Thread kernel test robot
Hi John, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux/master] [also build test WARNING on linus/master v5.8-rc4 next-20200707] [cannot apply to pmladek/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH v4 4/4] printk: use the lockless ringbuffer

2020-07-08 Thread Petr Mladek
On Tue 2020-07-07 17:05:32, John Ogness wrote: > Replace the existing ringbuffer usage and implementation with > lockless ringbuffer usage. Even though the new ringbuffer does not > require locking, all existing locking is left in place. Therefore, > this change is purely replacing the underlining

Re: [PATCH v4 4/4] printk: use the lockless ringbuffer

2020-07-08 Thread John Ogness
Fix prepared for for v5. On 2020-07-08, kernel test robot wrote: >>> kernel/printk/printk.c:1146:10: warning: format specifies type 'unsigned >>> long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat] > new_descs_size); > ^~~~