Re: [RFT 1/2] printk: make dynamic kernel ring buffer alignemnt explicit

2014-06-18 Thread Luis R. Rodriguez
On Wed, Jun 18, 2014 at 01:46:18PM -0600, Stephen Warren wrote: > On 06/18/2014 01:33 PM, Luis R. Rodriguez wrote: > > On Wed, Jun 18, 2014 at 09:56:03AM -0600, Stephen Warren wrote: > >> On 06/18/2014 05:14 AM, Luis R. Rodriguez wrote: > >>> From: "Luis R. Rodriguez" > >>> > >>> We have to consid

Re: [RFT 1/2] printk: make dynamic kernel ring buffer alignemnt explicit

2014-06-18 Thread Stephen Warren
On 06/18/2014 01:33 PM, Luis R. Rodriguez wrote: > On Wed, Jun 18, 2014 at 09:56:03AM -0600, Stephen Warren wrote: >> On 06/18/2014 05:14 AM, Luis R. Rodriguez wrote: >>> From: "Luis R. Rodriguez" >>> >>> We have to consider alignment for the ring buffer both for the >>> default static size, and t

Re: [RFT 1/2] printk: make dynamic kernel ring buffer alignemnt explicit

2014-06-18 Thread Luis R. Rodriguez
On Wed, Jun 18, 2014 at 09:56:03AM -0600, Stephen Warren wrote: > On 06/18/2014 05:14 AM, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > > > We have to consider alignment for the ring buffer both for the > > default static size, and then also for when an dynamic allocation > > is made

Re: [RFT 1/2] printk: make dynamic kernel ring buffer alignemnt explicit

2014-06-18 Thread Stephen Warren
On 06/18/2014 05:14 AM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > We have to consider alignment for the ring buffer both for the > default static size, and then also for when an dynamic allocation > is made when the log_buf_len=n kernel parameter is passed to set > the size specifi

Re: [RFT 1/2] printk: make dynamic kernel ring buffer alignemnt explicit

2014-06-18 Thread Petr Mládek
On Wed 2014-06-18 04:14:24, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > We have to consider alignment for the ring buffer both for the > default static size, and then also for when an dynamic allocation > is made when the log_buf_len=n kernel parameter is passed to set > the size spe

[RFT 1/2] printk: make dynamic kernel ring buffer alignemnt explicit

2014-06-18 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" We have to consider alignment for the ring buffer both for the default static size, and then also for when an dynamic allocation is made when the log_buf_len=n kernel parameter is passed to set the size specifically to a size larger than the default size set by the archi