Messages in this thread | | | Date | Sun, 29 Jan 2012 17:33:28 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH v2] sched: Accelerate "pick_next_entity" under special condition |
| |
* Michael Wang <wangyun@linux.vnet.ibm.com> wrote:
> On 01/27/2012 12:42 PM, Cong Wang wrote: > > > On 01/27/2012 09:22 AM, Michael Wang wrote: > >> Hi, Ingo > >> > >> Thanks for your reply. > >> > >> I have try use "ls -l" to see the size of sched.o, but after applied the > >> patch, it is still 1636. > >> > >> I have not use this method before, may be I use the wrong command... > >> > >> But I think the new code should be similar to the old one after compile, > >> because we still have 3 condition check here. > >> > >> I suppose the new sched.o will be a little bigger, because one jump > >> command and a label need to be added. > >> > > > > Try to see if `size` helps. > > Hi, Cong > > Thanks for your advise, but still, the size not changed. > > And also I don't know whether the size can be some kind of > proof to confirm the performance improvement in this case...
You could disassemble the .o file via objdump -d and run diff on it - is there any change in the code generated by GCC?
Thanks,
Ingo
| |