Re: [PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Peter Zijlstra
On Mon, Jan 23, 2017 at 04:59:32PM +0100, Thomas Gleixner wrote: > On Mon, 23 Jan 2017, Jens Axboe wrote: > > > On 01/23/2017 08:33 AM, Chris Wilson wrote: > > > Allow the user to communicate with the tasklet through the atomic state > > > field by assigning a bit for their use. This can be used,

Re: [PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Peter Zijlstra
On Mon, Jan 23, 2017 at 04:59:32PM +0100, Thomas Gleixner wrote: > On Mon, 23 Jan 2017, Jens Axboe wrote: > > > On 01/23/2017 08:33 AM, Chris Wilson wrote: > > > Allow the user to communicate with the tasklet through the atomic state > > > field by assigning a bit for their use. This can be used,

Re: [PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Thomas Gleixner
On Mon, 23 Jan 2017, Jens Axboe wrote: > On 01/23/2017 08:33 AM, Chris Wilson wrote: > > Allow the user to communicate with the tasklet through the atomic state > > field by assigning a bit for their use. This can be used, for example, > > to differentiate between a tasklet called following an

Re: [PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Thomas Gleixner
On Mon, 23 Jan 2017, Jens Axboe wrote: > On 01/23/2017 08:33 AM, Chris Wilson wrote: > > Allow the user to communicate with the tasklet through the atomic state > > field by assigning a bit for their use. This can be used, for example, > > to differentiate between a tasklet called following an

Re: [PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Jens Axboe
On 01/23/2017 08:33 AM, Chris Wilson wrote: > Allow the user to communicate with the tasklet through the atomic state > field by assigning a bit for their use. This can be used, for example, > to differentiate between a tasklet called following an irq or from > process context, where some hardware

Re: [PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Jens Axboe
On 01/23/2017 08:33 AM, Chris Wilson wrote: > Allow the user to communicate with the tasklet through the atomic state > field by assigning a bit for their use. This can be used, for example, > to differentiate between a tasklet called following an irq or from > process context, where some hardware

[PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Chris Wilson
Allow the user to communicate with the tasklet through the atomic state field by assigning a bit for their use. This can be used, for example, to differentiate between a tasklet called following an irq or from process context, where some hardware state may only be valid after the irq.

[PATCH] softirq: Reserve a bit in tasklet.state for the user

2017-01-23 Thread Chris Wilson
Allow the user to communicate with the tasklet through the atomic state field by assigning a bit for their use. This can be used, for example, to differentiate between a tasklet called following an irq or from process context, where some hardware state may only be valid after the irq.