From owner-freebsd-amd64@freebsd.org Fri Nov 20 10:15:02 2015 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC532A33792 for ; Fri, 20 Nov 2015 10:15:02 +0000 (UTC) (envelope-from deco33000@yandex.com) Received: from forward14m.cmail.yandex.net (forward14m.cmail.yandex.net [IPv6:2a02:6b8:b030::9b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A664011E8 for ; Fri, 20 Nov 2015 10:15:02 +0000 (UTC) (envelope-from deco33000@yandex.com) Received: from web5m.yandex.ru (web5m.yandex.ru [37.140.138.96]) by forward14m.cmail.yandex.net (Yandex) with ESMTP id 2D5192182A for ; Fri, 20 Nov 2015 13:14:59 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web5m.yandex.ru (Yandex) with ESMTP id 625052C61E56; Fri, 20 Nov 2015 13:14:58 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1448014498; bh=6g6pGnZK1SyW368RHBe/nMn97OBF0ZdibthW/3VcOyE=; h=From:To:Subject:Date; b=PL2tqLdDXd4VtBDnZKzt2lN2ml7SBvOOk8zcWkWEaNqwUg7GnOhEXNi3aNVNPVEXE XJ4DL9Z9UjcVwz/r1rF82V7162jMFRrnDtBror3EnffeeS0htsH3RjqReLh920Kndl ncSMTRdvQrChwosRUJyg4yhL+o6ezcyn098Z90fQ= Received: by web5m.yandex.ru with HTTP; Fri, 20 Nov 2015 13:14:57 +0300 From: AlexandreFressange To: freebsd-amd64@freebsd.org Subject: PAT and identity mapped pages. MIME-Version: 1.0 Message-Id: <424171448014497@web5m.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 20 Nov 2015 11:14:57 +0100 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Nov 2015 10:15:03 -0000 Hi, On x86_64, every memory page entry has a bit (4) to control its cache method: write-back or write-through. But even on identity mapped pages, you still use paging. Say, I want a page to be uncached; I can use the PAT to Uncached. In this case, what happens to the bit 4 of the accessed page? is it ignored? Thanks --š Alex