9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] dumb kw question
Date: Mon, 27 Dec 2010 09:00:42 -0500	[thread overview]
Message-ID: <608b86015aa017ae148c654b8314dbe1@plug.quanstro.net> (raw)
In-Reply-To: <b2eb68a71e4102fa136b0d091f3b19c0@hamnavoe.com>

On Mon Dec 27 04:07:57 EST 2010, 9fans@hamnavoe.com 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)?

- erik



  reply	other threads:[~2010-12-27 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27  2:52 erik quanstrom
2010-12-27  9:06 ` Richard Miller
2010-12-27 14:00   ` erik quanstrom [this message]
2010-12-28 10:41     ` Gorka Guardiola
2010-12-28 10:42       ` Gorka Guardiola
2010-12-28 13:59         ` erik quanstrom
2010-12-30  1:05   ` Charles Forsyth
2010-12-30  1:24     ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=608b86015aa017ae148c654b8314dbe1@plug.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).