tech-kern archive

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

Re: API change request. Was => Re: Time accounting on statclock()



Martin Husemann <martin%duskware.de@localhost> writes:

> On Sun, Nov 18, 2018 at 04:19:50PM +0530, Cherry G.Mathew wrote:
>> Typo:
>> https://mail-index.netbsd.org/source-changes/2018/11/18/msg100702.html
>
> Ugh - can't you just modify
>
> CLKF_USERMODE(frame)
> CLKF_PC(frame)
> CLKF_INTR(frame)
>
> for xen making them ignore their frame argument and use the per-cpu cached
> (but more minimal) data instead?
>

I can , yes - I'll have a quick look at the numbers though - I suspect
the cacheline footprint for those three vs. the entire frame ought to be
about the same.

> I wonder if the original change you proposed would be worth the churn as
> we are trying to become tickless and this all will get a big overhaul
> anyway.
>

Ah - in that case, the MD approach above, is probably a better idea.
-- 
~cherry


Home | Main Index | Thread Index | Old Index