From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 10 01:13:23 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2F74C4F; Mon, 10 Feb 2014 01:13:23 +0000 (UTC) Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F7961A7D; Mon, 10 Feb 2014 01:13:22 +0000 (UTC) Received: by mail-la0-f46.google.com with SMTP id b8so4240297lan.5 for ; Sun, 09 Feb 2014 17:13:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=RO4Vq4rkf9U7ZO50YhWU3RAOhJt6iNlQKTlnJx2fvWE=; b=JJwqs2rWpW+giyJMy/5uHp0fkRQG9h/a9VOtwohtPNPi3OWR9618AsHREZwurW/y6t HU93qQPiJE5n+xwP4pIcTyjmO149eRqwcNC7Q0tdE+/Ypc0bumxpuA6RIZQR5iy//iX9 Rxmwcw1qLC0yRktJOn+49mBSxAwyo+1MIj7O0ixYQKEkLW5kmHuBw5Gh97cicmpnMyzi 3kxIqpUo/NWm/UuXej1E2zKjvEs8xzhEVp07LHdsG/AsUcClMSl9cHP+n1zscw2/ys31 W+CKwnpRqZsXr6fhH0fnUZPfZ2JLZehAPU6eNpOP4LkJDFQJ+ywQ6SW2SSWYa7E3jtOz TWDg== MIME-Version: 1.0 X-Received: by 10.152.36.8 with SMTP id m8mr19924527laj.24.1391994800322; Sun, 09 Feb 2014 17:13:20 -0800 (PST) Sender: zbodek@gmail.com Received: by 10.112.46.135 with HTTP; Sun, 9 Feb 2014 17:13:20 -0800 (PST) Date: Mon, 10 Feb 2014 02:13:20 +0100 X-Google-Sender-Auth: 2fpJrshWqbT9nDUFCvREdHYOBzI Message-ID: Subject: RFC: Improvements to superpages support on ARM From: Zbigniew Bodek To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 01:13:23 -0000 Hello. I would like to submit some patches for superpages support. Please check out below: http://people.freebsd.org/~zbb/arm/pmap/superpages/02.2014/ I will appreciate if someone could test the patches (all patches need to be applied). All comments and remarks are also welcome. You can stress the memory system by using for example forkbomb from ports: benchmarks/forkbomb/ forkbomb -M -l 512 --runasroot --quit will allocate and touch 512 MB of memory Please remember to set loader variable: vm.pmap.sp_enabled=1 or sp_enabled to positive value in pmap-v6.c Patch list: 0001-Always-clear-L1-PTE-descriptor-when-removing-superpa.patch 0002-Assure-proper-TLB-invalidation-on-superpage-promotio.patch 0003-Fix-superpage-promotion-on-ARM-with-respect-to-RO-RW.patch 0004-Avoid-redundant-superpage-promotion-attempts-on-ARM.patch 0005-Remove-spurious-assertion-from-pmap_extract_locked.patch 0006-Handle-pmap_enter-on-already-promoted-mappings-for-A.patch Thank you in advance and best regards zbb