Re: [v1 2/6] sparc64: access tick function from variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For the tick read itself itt's probably time for code patching, and
thus taking the number of loads down to one.

Hi Dave,

True, we could save one more load, by patching tick_get_tick() but that would save us only 3-5 instructions because with the changes done in this patchset the extra load comes from the same cacheline as the other two variables: offset and quotient. So overall, we still have 3 loads as before, but they are much faster compared to what we have now, where every load is from a different cacheline.

Pasha

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux