[PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-19 Thread Peter Hurley
minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines when signal-driven I/O is enabled or disabled. When enabled for N_TTY (by fcntl(F_SETFL, O_ASYNC)), blocking reader/polls will be woken for any

Re: [PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-19 Thread Greg Kroah-Hartman
On Tue, Mar 19, 2013 at 09:57:09AM -0400, Peter Hurley wrote: > On Mon, 2013-03-18 at 16:15 -0700, Greg Kroah-Hartman wrote: > > On Wed, Mar 06, 2013 at 08:38:22AM -0500, Peter Hurley wrote: > > > minimum_to_wake is unique to N_TTY processing, and belongs in > > > per-ldisc data. > > > > > > Add

Re: [PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-19 Thread Peter Hurley
On Mon, 2013-03-18 at 16:15 -0700, Greg Kroah-Hartman wrote: > On Wed, Mar 06, 2013 at 08:38:22AM -0500, Peter Hurley wrote: > > minimum_to_wake is unique to N_TTY processing, and belongs in > > per-ldisc data. > > > > Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines > > when

Re: [PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-19 Thread Peter Hurley
On Mon, 2013-03-18 at 16:15 -0700, Greg Kroah-Hartman wrote: On Wed, Mar 06, 2013 at 08:38:22AM -0500, Peter Hurley wrote: minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines when

Re: [PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-19 Thread Greg Kroah-Hartman
On Tue, Mar 19, 2013 at 09:57:09AM -0400, Peter Hurley wrote: On Mon, 2013-03-18 at 16:15 -0700, Greg Kroah-Hartman wrote: On Wed, Mar 06, 2013 at 08:38:22AM -0500, Peter Hurley wrote: minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc

[PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-19 Thread Peter Hurley
minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines when signal-driven I/O is enabled or disabled. When enabled for N_TTY (by fcntl(F_SETFL, O_ASYNC)), blocking reader/polls will be woken for any

Re: [PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-18 Thread Greg Kroah-Hartman
On Wed, Mar 06, 2013 at 08:38:22AM -0500, Peter Hurley wrote: > minimum_to_wake is unique to N_TTY processing, and belongs in > per-ldisc data. > > Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines > when signal-driven I/O is enabled or disabled. When enabled for N_TTY > (by

Re: [PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-18 Thread Greg Kroah-Hartman
On Wed, Mar 06, 2013 at 08:38:22AM -0500, Peter Hurley wrote: minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines when signal-driven I/O is enabled or disabled. When enabled for N_TTY (by

[PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-06 Thread Peter Hurley
minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines when signal-driven I/O is enabled or disabled. When enabled for N_TTY (by fcntl(F_SETFL, O_ASYNC)), blocking reader/polls will be woken for any

[PATCH 4/7] n_tty: Encapsulate minimum_to_wake within N_TTY

2013-03-06 Thread Peter Hurley
minimum_to_wake is unique to N_TTY processing, and belongs in per-ldisc data. Add the ldisc method, ldisc_ops::fasync(), to notify line disciplines when signal-driven I/O is enabled or disabled. When enabled for N_TTY (by fcntl(F_SETFL, O_ASYNC)), blocking reader/polls will be woken for any