Re: [PATCH v2] kthread: Export kthread functions

2015-08-02 Thread Jes Sorensen
yalin wang writes: >> On Aug 1, 2015, at 21:32, Neil Horman wrote: >>> strange, this is my test result: >>> >>> size built-in.o* >>> text data bss dec hex filename >>> 743937 50786 56008 850731 cfb2b built-in.o // with the patch >>> 744069 50786 56008 850863 cfbaf

Re: [PATCH v2] kthread: Export kthread functions

2015-08-02 Thread yalin wang
> On Aug 1, 2015, at 21:32, Neil Horman wrote: > > On Sat, Aug 01, 2015 at 03:12:42PM +0800, yalin wang wrote: >> >>> 在 2015年7月31日,22:14,Thomas Gleixner 写道: >>> >>> >>> On Fri, 31 Jul 2015, Thomas Gleixner wrote: >>> On Fri, 31 Jul 2015, yalin wang wrote: > it is optimised to 2

Re: [PATCH v2] kthread: Export kthread functions

2015-08-02 Thread yalin wang
On Aug 1, 2015, at 21:32, Neil Horman nhor...@redhat.com wrote: On Sat, Aug 01, 2015 at 03:12:42PM +0800, yalin wang wrote: 在 2015年7月31日,22:14,Thomas Gleixner t...@linutronix.de 写道: On Fri, 31 Jul 2015, Thomas Gleixner wrote: On Fri, 31 Jul 2015, yalin wang wrote: it is optimised

Re: [PATCH v2] kthread: Export kthread functions

2015-08-02 Thread Jes Sorensen
yalin wang yalin.wang2...@gmail.com writes: On Aug 1, 2015, at 21:32, Neil Horman nhor...@redhat.com wrote: strange, this is my test result: size built-in.o* text data bss dec hex filename 743937 50786 56008 850731 cfb2b built-in.o // with the patch 744069 50786

Re: [PATCH v2] kthread: Export kthread functions

2015-08-01 Thread Neil Horman
On Sat, Aug 01, 2015 at 03:12:42PM +0800, yalin wang wrote: > > > 在 2015年7月31日,22:14,Thomas Gleixner 写道: > > > > > > On Fri, 31 Jul 2015, Thomas Gleixner wrote: > > > >> On Fri, 31 Jul 2015, yalin wang wrote: > >>> it is optimised to 2 instructions , > >>> > >>> this is my patch, hope can be

Re: [PATCH v2] kthread: Export kthread functions

2015-08-01 Thread Thomas Gleixner
On Sat, 1 Aug 2015, yalin wang wrote: > size built-in.o* > text data bss dec hex filename > 743937 50786 56008 850731 cfb2b built-in.o// with the > patch > 744069 50786 56008 850863 cfbaf built-in.o_old // with out the > patch Not

Re: [PATCH v2] kthread: Export kthread functions

2015-08-01 Thread yalin wang
> 在 2015年7月31日,22:14,Thomas Gleixner 写道: > > > On Fri, 31 Jul 2015, Thomas Gleixner wrote: > >> On Fri, 31 Jul 2015, yalin wang wrote: >>> it is optimised to 2 instructions , >>> >>> this is my patch, hope can be merged : >> >> We are not exposing the internals of kthread management.

Re: [PATCH v2] kthread: Export kthread functions

2015-08-01 Thread yalin wang
在 2015年7月31日,22:14,Thomas Gleixner t...@linutronix.de 写道: On Fri, 31 Jul 2015, Thomas Gleixner wrote: On Fri, 31 Jul 2015, yalin wang wrote: it is optimised to 2 instructions , this is my patch, hope can be merged : We are not exposing the internals of kthread management. Period.

Re: [PATCH v2] kthread: Export kthread functions

2015-08-01 Thread Thomas Gleixner
On Sat, 1 Aug 2015, yalin wang wrote: size built-in.o* text data bss dec hex filename 743937 50786 56008 850731 cfb2b built-in.o// with the patch 744069 50786 56008 850863 cfbaf built-in.o_old // with out the patch Not all

Re: [PATCH v2] kthread: Export kthread functions

2015-08-01 Thread Neil Horman
On Sat, Aug 01, 2015 at 03:12:42PM +0800, yalin wang wrote: 在 2015年7月31日,22:14,Thomas Gleixner t...@linutronix.de 写道: On Fri, 31 Jul 2015, Thomas Gleixner wrote: On Fri, 31 Jul 2015, yalin wang wrote: it is optimised to 2 instructions , this is my patch, hope can be merged

Re: [PATCH v2] kthread: Export kthread functions

2015-07-31 Thread Thomas Gleixner
On Fri, 31 Jul 2015, Thomas Gleixner wrote: > On Fri, 31 Jul 2015, yalin wang wrote: > > it is optimised to 2 instructions , > > > > this is my patch, hope can be merged : > > We are not exposing the internals of kthread management. Period. And your 'optimization' is completely bogus: Before

Re: [PATCH v2] kthread: Export kthread functions

2015-07-31 Thread Thomas Gleixner
On Fri, 31 Jul 2015, yalin wang wrote: > it is optimised to 2 instructions , > > this is my patch, hope can be merged : We are not exposing the internals of kthread management. Period. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH v2] kthread: Export kthread functions

2015-07-31 Thread Thomas Gleixner
On Fri, 31 Jul 2015, Thomas Gleixner wrote: On Fri, 31 Jul 2015, yalin wang wrote: it is optimised to 2 instructions , this is my patch, hope can be merged : We are not exposing the internals of kthread management. Period. And your 'optimization' is completely bogus: Before your

Re: [PATCH v2] kthread: Export kthread functions

2015-07-31 Thread Thomas Gleixner
On Fri, 31 Jul 2015, yalin wang wrote: it is optimised to 2 instructions , this is my patch, hope can be merged : We are not exposing the internals of kthread management. Period. Thanks, tglx -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH v2] kthread: Export kthread functions

2015-07-30 Thread yalin wang
> On Jul 30, 2015, at 20:02, Neil Horman wrote: > > On Thu, Jul 30, 2015 at 11:48:17AM +0800, yalin wang wrote: >> >>> On Jul 29, 2015, at 18:34, Thomas Gleixner wrote: >>> >>> On Tue, 28 Jul 2015, Andrew Morton wrote: >>> On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner wrote:

Re: [PATCH v2] kthread: Export kthread functions

2015-07-30 Thread Neil Horman
On Thu, Jul 30, 2015 at 11:48:17AM +0800, yalin wang wrote: > > > On Jul 29, 2015, at 18:34, Thomas Gleixner wrote: > > > > On Tue, 28 Jul 2015, Andrew Morton wrote: > > > >> On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner > >> wrote: > >> > >>> The s-Par visornic driver, currently in

Re: [PATCH v2] kthread: Export kthread functions

2015-07-30 Thread Neil Horman
On Thu, Jul 30, 2015 at 11:48:17AM +0800, yalin wang wrote: On Jul 29, 2015, at 18:34, Thomas Gleixner t...@linutronix.de wrote: On Tue, 28 Jul 2015, Andrew Morton wrote: On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner david.kersh...@unisys.com wrote: The s-Par visornic

Re: [PATCH v2] kthread: Export kthread functions

2015-07-30 Thread yalin wang
On Jul 30, 2015, at 20:02, Neil Horman nhor...@redhat.com wrote: On Thu, Jul 30, 2015 at 11:48:17AM +0800, yalin wang wrote: On Jul 29, 2015, at 18:34, Thomas Gleixner t...@linutronix.de wrote: On Tue, 28 Jul 2015, Andrew Morton wrote: On Tue, 28 Jul 2015 11:59:01 -0400 David

Re: [PATCH v2] kthread: Export kthread functions

2015-07-29 Thread yalin wang
> On Jul 29, 2015, at 18:34, Thomas Gleixner wrote: > > On Tue, 28 Jul 2015, Andrew Morton wrote: > >> On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner >> wrote: >> >>> The s-Par visornic driver, currently in staging, processes a queue >>> being serviced by the an s-Par service partition.

Re: [PATCH v2] kthread: Export kthread functions

2015-07-29 Thread Thomas Gleixner
On Tue, 28 Jul 2015, Andrew Morton wrote: > On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner > wrote: > > > The s-Par visornic driver, currently in staging, processes a queue > > being serviced by the an s-Par service partition. We can get a message > > that something has happened with the

Re: [PATCH v2] kthread: Export kthread functions

2015-07-29 Thread yalin wang
On Jul 29, 2015, at 18:34, Thomas Gleixner t...@linutronix.de wrote: On Tue, 28 Jul 2015, Andrew Morton wrote: On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner david.kersh...@unisys.com wrote: The s-Par visornic driver, currently in staging, processes a queue being serviced by the

Re: [PATCH v2] kthread: Export kthread functions

2015-07-29 Thread Thomas Gleixner
On Tue, 28 Jul 2015, Andrew Morton wrote: On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner david.kersh...@unisys.com wrote: The s-Par visornic driver, currently in staging, processes a queue being serviced by the an s-Par service partition. We can get a message that something has

Re: [PATCH v2] kthread: Export kthread functions

2015-07-28 Thread Andrew Morton
On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner wrote: > The s-Par visornic driver, currently in staging, processes a queue > being serviced by the an s-Par service partition. We can get a message > that something has happened with the Service Partition, when that > happens, we must not

[PATCH v2] kthread: Export kthread functions

2015-07-28 Thread David Kershner
The s-Par visornic driver, currently in staging, processes a queue being serviced by the an s-Par service partition. We can get a message that something has happened with the Service Partition, when that happens, we must not access the channel until we get a message that the service partition is

[PATCH v2] kthread: Export kthread functions

2015-07-28 Thread David Kershner
The s-Par visornic driver, currently in staging, processes a queue being serviced by the an s-Par service partition. We can get a message that something has happened with the Service Partition, when that happens, we must not access the channel until we get a message that the service partition is

Re: [PATCH v2] kthread: Export kthread functions

2015-07-28 Thread Andrew Morton
On Tue, 28 Jul 2015 11:59:01 -0400 David Kershner david.kersh...@unisys.com wrote: The s-Par visornic driver, currently in staging, processes a queue being serviced by the an s-Par service partition. We can get a message that something has happened with the Service Partition, when that