Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-06 Thread Wang YanQing
On Thu, Jun 06, 2013 at 01:47:46PM +0200, Pavel Machek wrote: > On Thu 2013-06-06 09:23:13, Wang YanQing wrote: > > On Tue, Jun 04, 2013 at 10:13:18PM +0200, Pavel Machek wrote: > > > On Tue 2013-05-21 13:15:12, Wang YanQing wrote: > > > > Impact: > > > > 1:convert all remain take_over_console to

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-06 Thread Pavel Machek
On Thu 2013-06-06 09:23:13, Wang YanQing wrote: > On Tue, Jun 04, 2013 at 10:13:18PM +0200, Pavel Machek wrote: > > On Tue 2013-05-21 13:15:12, Wang YanQing wrote: > > > Impact: > > > 1:convert all remain take_over_console to do_take_over_console > > > > This is step backwards. > > What is step

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-06 Thread Pavel Machek
On Thu 2013-06-06 09:23:13, Wang YanQing wrote: On Tue, Jun 04, 2013 at 10:13:18PM +0200, Pavel Machek wrote: On Tue 2013-05-21 13:15:12, Wang YanQing wrote: Impact: 1:convert all remain take_over_console to do_take_over_console This is step backwards. What is step backwards?

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-06 Thread Wang YanQing
On Thu, Jun 06, 2013 at 01:47:46PM +0200, Pavel Machek wrote: On Thu 2013-06-06 09:23:13, Wang YanQing wrote: On Tue, Jun 04, 2013 at 10:13:18PM +0200, Pavel Machek wrote: On Tue 2013-05-21 13:15:12, Wang YanQing wrote: Impact: 1:convert all remain take_over_console to

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-05 Thread Wang YanQing
On Tue, Jun 04, 2013 at 10:13:18PM +0200, Pavel Machek wrote: > On Tue 2013-05-21 13:15:12, Wang YanQing wrote: > > Impact: > > 1:convert all remain take_over_console to do_take_over_console > > This is step backwards. What is step backwards? do_take_over_console appear MUCH MUCH later in kernel

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-05 Thread Wang YanQing
On Tue, Jun 04, 2013 at 10:13:18PM +0200, Pavel Machek wrote: On Tue 2013-05-21 13:15:12, Wang YanQing wrote: Impact: 1:convert all remain take_over_console to do_take_over_console This is step backwards. What is step backwards? do_take_over_console appear MUCH MUCH later in kernel than

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-04 Thread Pavel Machek
On Tue 2013-05-21 13:15:12, Wang YanQing wrote: > Impact: > 1:convert all remain take_over_console to do_take_over_console This is step backwards. > --- a/arch/alpha/kernel/console.c > +++ b/arch/alpha/kernel/console.c > @@ -61,7 +61,9 @@ locate_and_init_vga(void *(*sel_func)(void *, void *)) >

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-06-04 Thread Pavel Machek
On Tue 2013-05-21 13:15:12, Wang YanQing wrote: Impact: 1:convert all remain take_over_console to do_take_over_console This is step backwards. --- a/arch/alpha/kernel/console.c +++ b/arch/alpha/kernel/console.c @@ -61,7 +61,9 @@ locate_and_init_vga(void *(*sel_func)(void *, void *))

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Peter Hurley
On 05/21/2013 12:29 PM, Wang YanQing wrote: On Wed, May 22, 2013 at 12:18:49AM +0800, Wang YanQing wrote: Except now you're spreading the brokenness that is console_lock() over many more source files than the single-use case of do_take_over_console(). The actual interface is

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Wang YanQing
On Wed, May 22, 2013 at 12:18:49AM +0800, Wang YanQing wrote: > > Except now you're spreading the brokenness that is console_lock() > > over many more source files than the single-use case of > > do_take_over_console(). > > > The actual interface is take_over_console(); the _workaround_ is > >

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Wang YanQing
On Tue, May 21, 2013 at 11:48:58AM -0400, Peter Hurley wrote: > On 05/21/2013 10:42 AM, Wang YanQing wrote: > > On Tue, May 21, 2013 at 09:10:33AM -0400, Peter Hurley wrote: > >> I would rather revert dc9641895abb which purported to delete > >> _unneeded_ functions than have this. Obviously the

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Peter Hurley
On 05/21/2013 10:42 AM, Wang YanQing wrote: On Tue, May 21, 2013 at 09:10:33AM -0400, Peter Hurley wrote: I would rather revert dc9641895abb which purported to delete _unneeded_ functions than have this. Obviously the functions were needed. Hi Peter, this series patches' goal is to reduce

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Wang YanQing
On Tue, May 21, 2013 at 09:10:33AM -0400, Peter Hurley wrote: > I would rather revert dc9641895abb which purported to delete > _unneeded_ functions than have this. Obviously the functions > were needed. > Hi Peter, this series patches' goal is to reduce codes' redundance and function

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Peter Hurley
On 05/21/2013 01:15 AM, Wang YanQing wrote: Impact: 1:convert all remain take_over_console to do_take_over_console 2:update take_over_console to do_take_over_console in comment Commit dc9641895abb ("vt: delete unneeded functions register_con_driver|take_over_console") delete take_over_console,

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Peter Hurley
On 05/21/2013 01:15 AM, Wang YanQing wrote: Impact: 1:convert all remain take_over_console to do_take_over_console 2:update take_over_console to do_take_over_console in comment Commit dc9641895abb (vt: delete unneeded functions register_con_driver|take_over_console) delete take_over_console,

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Wang YanQing
On Tue, May 21, 2013 at 09:10:33AM -0400, Peter Hurley wrote: I would rather revert dc9641895abb which purported to delete _unneeded_ functions than have this. Obviously the functions were needed. Hi Peter, this series patches' goal is to reduce codes' redundance and function duplication.

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Peter Hurley
On 05/21/2013 10:42 AM, Wang YanQing wrote: On Tue, May 21, 2013 at 09:10:33AM -0400, Peter Hurley wrote: I would rather revert dc9641895abb which purported to delete _unneeded_ functions than have this. Obviously the functions were needed. Hi Peter, this series patches' goal is to reduce

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Wang YanQing
On Tue, May 21, 2013 at 11:48:58AM -0400, Peter Hurley wrote: On 05/21/2013 10:42 AM, Wang YanQing wrote: On Tue, May 21, 2013 at 09:10:33AM -0400, Peter Hurley wrote: I would rather revert dc9641895abb which purported to delete _unneeded_ functions than have this. Obviously the functions

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Wang YanQing
On Wed, May 22, 2013 at 12:18:49AM +0800, Wang YanQing wrote: Except now you're spreading the brokenness that is console_lock() over many more source files than the single-use case of do_take_over_console(). The actual interface is take_over_console(); the _workaround_ is exposing

Re: [PATCH] TTY:vt: convert remain take_over_console's users to do_take_over_console

2013-05-21 Thread Peter Hurley
On 05/21/2013 12:29 PM, Wang YanQing wrote: On Wed, May 22, 2013 at 12:18:49AM +0800, Wang YanQing wrote: Except now you're spreading the brokenness that is console_lock() over many more source files than the single-use case of do_take_over_console(). The actual interface is