perfbook.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hao Lee <haolee.swjtu@gmail.com>
To: paulmck@kernel.org
Cc: perfbook@vger.kernel.org
Subject: The answer of Quiz C.8 is not quite reasonable
Date: Thu, 14 Apr 2022 17:42:25 +0000	[thread overview]
Message-ID: <20220414174225.GA29861@haolee.io> (raw)

Hi,

At the beginning of C.3.3 we have supposed the cache line containing "a"
resides _only_ in _CPU1’s_ cache. I think this is why _CPU0_ has to send
a "_read_ invalidate message" to _retrieve_ the cache line and invalid
CPU1's cache line.

However, the answer says the reason is the cache line in question
contains more than just the variable a. I can't understand the logical
relationship between this answer and the question. Am I missing
something here? Thanks.

Regards,
Hao Lee

             reply	other threads:[~2022-04-14 17:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 17:42 Hao Lee [this message]
2022-04-17 17:44 ` The answer of Quiz C.8 is not quite reasonable Paul E. McKenney
2022-04-18  8:01   ` Hao Lee
2022-04-19 17:28     ` Paul E. McKenney
2022-04-20  6:45       ` Hao Lee
2022-04-20 18:15         ` Paul E. McKenney
2022-04-21 13:34           ` Hao Lee

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=20220414174225.GA29861@haolee.io \
    --to=haolee.swjtu@gmail.com \
    --cc=paulmck@kernel.org \
    --cc=perfbook@vger.kernel.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).