From owner-freebsd-current@freebsd.org Mon Nov 16 17:31:19 2015 Return-Path: Delivered-To: freebsd-current@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 14BE4A3029E for ; Mon, 16 Nov 2015 17:31:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D05E511CC for ; Mon, 16 Nov 2015 17:31:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by iouu10 with SMTP id u10so160819487iou.0 for ; Mon, 16 Nov 2015 09:31:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp_com.20150623.gappssmtp.com; s=20150623; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=ME9nXhBcmgqt7X2KjIB8ML0dHKevKmxaqvn1VV6lyjI=; b=oj2zO+xMfaLKX8DNsRVyMHzIPzE58omAL5jPRH/pDSkVy0PfxDvxw2diLQLMqQgSlH e7fvNsVCHLoZXf2B4QYoTbiua3sjMgZTC66Lp5mS4fTT0mNUYZwLmzjzlLxvmiN3o6wA GG7UdUVdiz/tWZh0MemwybSUqcHxwlA9bfaJzOEfJOWpTHqMG5pcx0CFzu037EXdTSo1 zn94ktsCFwdw9ntKa6W84lhAfS4DMltKxnRFkZqsYmEPyrX2q7+9H0HAG+5liPd7AVHp 7MHGtcd+bWpZZX/P4692D+4SmncXWLBOK6ZkGBty38k/R2CWaiKC6OfQk5ZXHRzRxfni m/FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=ME9nXhBcmgqt7X2KjIB8ML0dHKevKmxaqvn1VV6lyjI=; b=jUOhDyT6gONK6Zy7Beb+cFEPYk2dYukhXd91nnjw3/HnLh/uJEqbgYN1+Tzq8UGFY1 gQJtb/A/PGQ6fDkK351OxVvAnlFIkT37Nhah5Yw6QdUZL5bo+G/rNM554nfBtsgpw/lf eRoQ60mnZOBpGPp5TcBjigBB1AmWxCQTU9i6mypvarDvbSU9XSXUaWuwXK2/PB61AR0l FkdBLDvlL8hxYxQWpuEB/YDOEiPhqek3YmYUL+fo/0bNQYEYeibMMRfAeEYYrLBMC5oF dn41CeF3skrX8zRxikxobwkssIFqT3k/Q22MYuILsoa2C2D0ZfXBQQWa1QcK7NX5IOkO qB+Q== X-Gm-Message-State: ALoCoQnWFtaZt+pGRnxD7B7rirq3DgBjbqOqMhmSaHgruXzXiPSyjuwjNY9hKSWviroDxB/z05mN X-Received: by 10.107.25.81 with SMTP id 78mr28461934ioz.127.1447695077846; Mon, 16 Nov 2015 09:31:17 -0800 (PST) Received: from ?IPv6:2601:280:4900:3700:710f:9f5c:5426:f54e? ([2601:280:4900:3700:710f:9f5c:5426:f54e]) by smtp.gmail.com with ESMTPSA id fs10sm6548813igb.18.2015.11.16.09.31.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Nov 2015 09:31:17 -0800 (PST) Sender: Warner Losh Subject: Re: CFT: uintmax_t rman Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_121AC1C5-0E33-4F7F-8C87-010CC726DBFB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.2 From: Warner Losh In-Reply-To: <75C2B97F-3C5E-49E3-A584-DE84463889FC@gmail.com> Date: Mon, 16 Nov 2015 10:31:11 -0700 Cc: FreeBSD Current Message-Id: <0F3B8FF2-E54E-446F-8D4E-415A1111EF4D@bsdimp.com> References: <75C2B97F-3C5E-49E3-A584-DE84463889FC@gmail.com> To: Justin Hibbits X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2015 17:31:19 -0000 --Apple-Mail=_121AC1C5-0E33-4F7F-8C87-010CC726DBFB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 >=20 > On Nov 15, 2015, at 9:13 PM, Justin Hibbits = wrote: >=20 > (Attempted to send this yesterday, but appears it didn't go through. = Apologies if it really did go through). >=20 > As part of a project getting FreeBSD on the Freescale P5020 SoC, I = increased the width of resources, from u_long(32 bits on 32-bit archs, = 64 bits on 64-bit archs) to uintmax_t (currently 64 bits on all archs). = I have it working on PowerPC, but have not tested it on any other = architecture, I have no other systems to test it with, so I need help. = This passes a tinderbox build. I need this tested on other archs, the = more the better, especially i386, including PAE. >=20 > It should be effectively a no-op on most architectures, especially = 64-bit archs, though there were some checks I found in x86 code clamping = address checks to under 4GB, commented as necessary purely for rman. If = this isn't the case, and we can't yet handle the checks being removed, = they can go in, but that needs testing. It should apply cleanly to = recent head. I like the idea. There=E2=80=99s nothing offensive enough in the diffs = to comment upon here (though I suppose I could see a few spots one could = quibble over if one were so inclined). I wonder, though, why not make its own typedef, even if it is just = =E2=80=98typedef man_res_t uintmax_t;=E2=80=99 in the rman headers? Warner --Apple-Mail=_121AC1C5-0E33-4F7F-8C87-010CC726DBFB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWShLgAAoJEGwc0Sh9sBEAB7YP/3Qo+bfyoRXhZ5cLVAghaZH9 Jbsn2VHRRhgMzq1UoIf65qV9f3tIBLKinYOnwBcYWTrCQ7pPib6a8chZrqE52r1g CZor5iSGD+zWpQnpDID7OF2SXbNV3RxlMzr4wJD5P161HDspgtyYHtDB7L7Mbrfh Wm/Hfq7DnEPFMItTD/JrRLyrpRpf9+Fm6EFx9F/RgdAHTglqannaKriTwBgOkpR8 fE2x29jZsFQxK63Qu36dofgpHkL10pS8L6pzjQjc+11nPa9mpdftBKwZjxlPjMbu CpX35gt2Udcwp0ohwfeinnZ3p6CPjCCGbT9V7ttRMpt7mgzC6AHCJQHq4xJhoWJF FfZp9JbZ3C9H04yUfjMFREKcy8Ufmz++sj91xTnNOtlfQKQFX3C57+3p1fS82YuL MYgUWgZULzOOU6BPzMVt1JVVhkN3sI/UuaXBm80/FIPK2cXEGiMc27RIg6bmlfD8 E5pJUj9lQzBmnUPug4hXAoUdZWt5718eC89hM1kUbhVvWYk2eM37Skhw7nU0uDxV PBS98QGrgUQgjszD9MAdbHo/5VMdVSVPd86Suo7Y3ZB93B0V2UCc6Hu6z8g74kQU KaaCwF9QvnUtaWqiDi6scvwV4ZcHBXrq3gLRl5t1Lqr5lN9n3gN9TusLIRXn0tUr gBk0qrNdpMv3mamiID16 =Fmq5 -----END PGP SIGNATURE----- --Apple-Mail=_121AC1C5-0E33-4F7F-8C87-010CC726DBFB--