Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Feb 2011 10:43:54 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        arm@freebsd.org
Subject:   Elimination of cpu_l2cache_* functions
Message-ID:  <857AA8D9-5C41-4D80-A3B5-0D29BE051014@mac.com>

next in thread | raw e-mail | index | archive | help
All,

I've been reviewing the use of the cpu_l2cache_* functions and found
that 1) they're missing from cpu_witch() and 2) they are always used
in conjunction with either cpu_idcache_* or cpu_dcache_*.

Since most CPU variants define them as null ops, isn't it better to
incorporate the functionality of cpu_l2cache_* in cpu_idcache_* and
cpu_dcache_* and eliminate them altogether?

Any objections to me removing cpu_l2cache_* and therefore changing
the semantics of cpu_idcache_* and cpu_dcahce_* to apply to all
relevant cache levels?

Thanks,

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?857AA8D9-5C41-4D80-A3B5-0D29BE051014>