From owner-freebsd-arm@FreeBSD.ORG Tue Sep 4 22:37:24 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C85A106566C; Tue, 4 Sep 2012 22:37:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 59AC78FC12; Tue, 4 Sep 2012 22:37:24 +0000 (UTC) Received: by dadr6 with SMTP id r6so4547134dad.13 for ; Tue, 04 Sep 2012 15:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ZJe3OoLFdSsq1rBmGDayZfLAp1Il/rhpWhdamY8Z8bc=; b=MNHakFwHb1fNZ1QAGvDLalimv9oh5MYXZYNwpJeRMyzLbVBQ8KRzNTGecyFkONceTm sQI+X5InEEO85e4UiGNNLWGIpYKCQrw+lDIV0QUs2xuPgWDasuvYbjjRwjw797C6EUiV cD5404fcZnMB70zCHyPA4lXHIxIiRiYqelfwiLl1JCm4y390WkDN3ncH/llYzP4HCbgx aPY42pUtsSceGb2Fqtu5sJmP0JLUTWVdEve0gCh17ZQOS0ma6fFlL4G4a9D+KkP/iRIT edUCtEkQcf6NQJVKyZ3saytqG97qhHbhyJW2v6vsgihjLHhkB1RLosP99asJSXmdjFk2 PLTw== MIME-Version: 1.0 Received: by 10.68.136.40 with SMTP id px8mr49067570pbb.153.1346798243121; Tue, 04 Sep 2012 15:37:23 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.36.106 with HTTP; Tue, 4 Sep 2012 15:37:23 -0700 (PDT) In-Reply-To: <1346777897.1140.633.camel@revolution.hippie.lan> References: <1346777897.1140.633.camel@revolution.hippie.lan> Date: Tue, 4 Sep 2012 15:37:23 -0700 X-Google-Sender-Auth: xymgd16ysxWbbyH4b5OQVWzf11M Message-ID: From: Adrian Chadd To: Ian Lepore Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-arm@freebsd.org, freebsd-mips@freebsd.org Subject: Re: busdma buffer management enhancements - call for review and test X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 22:37:24 -0000 Hiya, This is pretty neat work. :) But by converting drivers to use individual uma allocations, aren't you risking fragmenting FIFO rings and such? I'm sure there are platforms out there whose memory controllers operate on minimum sized bits (say, 512 byte chunks for some intel PC chipsets, if I'm not mistaken) .. right now ath(4)'s RX descriptors are almost always kept in order of allocation, but with your proposal it's quite possible they'll be spread all around the the (fixed size) UMA slab. I can't help but think there's some larger scale issues here that are slightly orthogonal to the requirements of (small) embedded platforms. Adrian