On Mon, Dec 27, 2010 at 3:00 PM, erik quanstrom <[email protected]> wrote: > On Mon Dec 27 04:07:57 EST 2010, [email protected] wrote: >> > what does BY2SE stand for? >> > bytes per what? >> >> I don't know the answer but here's a clue: >> >> ether1116.c:573: cachedwbse(&r->cs, BY2SE); >> >> l.s:342: TEXT cachedwbse(SB), 1, $-4 /* D writeback SE */ > > after quite the go around, BY2SE stands for "single entry". > which begs the question "single entry" of what. it appears > that it means a cache line, which is 32 bytes, judging from the > rounding that both l2cacheuwbse and cachedwbse do, all > the cachelines covered by the given object are flushed. > > if i'm reading the code correctly, ... > - shouldn't BY2SE be replaced by either BY2WD or sizeof(thing)? >
Se is in fact single entry in the cache, i.e. cache line. It is not a word necessarily (on other arm arquitectures it is 64 bytes if I remember right) and it is used in assembly so a define is the way to go. G.
