[Top] [All Lists]

some questions about translation lookaside buffer

To: Linux MIPS Mailing List <>
Subject: some questions about translation lookaside buffer
From: loody <>
Date: Mon, 17 Oct 2011 19:36:11 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=8EllmUJZFEhOAi8ogaDX0Glc68u8lyvhglXzNYaR8CQ=; b=xvKb0x/aBHXFvFcDgRzTDMMNLlVQlWBQSTqldgq3JvBIKIOi+pN1tEZ+EFbwimriYw t5FVK6f4hZ+o3/8adCra7SBroK2yihU3j8o6y9j3W075lUmjI9f8eDIXKv933f2P4YvM eVQ8883XEezmGucHByGxMB0T/aVeFXsdhfdXA=
Dear all:
I have some questions about local_flush_tlb_one.
1. what will happen if I use local_flush_tlb_one to flush a page that
doesn't exist in translation lookaside buffer entries.

The index return by read_c0_index(), should be negative.
but this function seems not handle the case that idx < 0.

2. as I know, translation lookaside buffer is a place to keep record
the memory mapping, it doesn't like cache have place to store the
    a. If the entry is cacheable, what we only to do is flush the cache?
    b. if the entry is uncached, there is nothing to do?
if above b is correct, what will happen if we have an entry that is
uncached and dirty?


<Prev in Thread] Current Thread [Next in Thread>