From nobody Sat Jan 11 22:40:39 2025 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YVtlc2LMGz5jwG9 for ; Sat, 11 Jan 2025 22:40:44 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YVtlb4c8Xz4SvR for ; Sat, 11 Jan 2025 22:40:43 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-7b6f8524f23so350901685a.2 for ; Sat, 11 Jan 2025 14:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736635243; x=1737240043; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=St+FBU/yzHqqyDkdhyg7Id4mCF5lvLi3kHOWFnc/VlY=; b=Bq0s1WWbHPBGd6rPmBgCHWs0OTJOe3lO+r+KcnUHF10vtuWoCcEXOA4av2quWYUUW8 qjE4XmsVmPSKYmHDY5XmTfVr9+tY0Bb+9irfQikU5N+LXDeR82yMzs6LNPREr3o1g+hZ cZeiuRhhwO2TwPJSG7rvYr56kcE+ysQM6L2etg1wR01S6WZFmJkTo0QAwW1abK3Wr8yV Z63T/ty+D4E4Rc8gq9DhebEI1dVWjX7f6qcWlgEsmOwBbR9ENQPX0kY5HSwcEVHW4ojm Jeumt1DUiIC9HtSot5qIkbJ/XzpuWvcHuqx9+Hg15f9k+/FAucypTMMA+JUMyz+8atH8 Z5Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736635243; x=1737240043; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=St+FBU/yzHqqyDkdhyg7Id4mCF5lvLi3kHOWFnc/VlY=; b=Vk3wxZ1bE2PYW0YlzmouI9qHVeSuif87F3AfJIpOTSmphSD0Keze8lGY49EsLYe8pa /q8O+ynZFPjcccZqfgmGUMHVlFpbcK9w6/wrR7PH8DbFMcE9Dkb3qJxQTsiQEO2bXNS2 1ceRoyKM5Coij8ucCpFckfIvjm4OAaMlHmzyCkxhfF3tvLuLF+KOSn7aHxM6DT2TU6aG v29wOuaWzYgvZ6VGX/Wi7g5Ihfb+KMemxgSElceieqOGFaQxP01APlsgc1vOLWUvAKNZ a7Jwzwl/cVy9J/Cnr9WsBcb27YapTMm6hmlvVgfp1jzW5pt0K70uozs3wsT9JWgML4v0 VUIw== X-Forwarded-Encrypted: i=1; AJvYcCUe1zpQZ2BSl5E5EWPHxnKJ6kloum1h36pZKhNja29/WFmd2W2Bix55Id5hU1D7Jglt40f0qM+HkmvxYIv+iIc=@freebsd.org X-Gm-Message-State: AOJu0YyBFVnVciERrdkX7aTPsVi+us6z0UEYCJc8Ewxb5WpACnyhosi7 6XU8mOzPbm7/meaToIs3Ca4yIQLdevtS9tCmIucEubWzdrbpOOIc X-Gm-Gg: ASbGncuWVt3Cu2E7wl90Zu/Ek0Wh7NbZIr+5WMXpDHq8R7XeDYt69zanlnQb4VtUWtJ 0u4SJIJoDMUPbg9uyeGcTtgeTjli5HRB+qOP5Cpgio2B6OFUzbJXripIOz27twsTekrVFl1W+8O bbED3ZBWSIiiyloWXP87x69AIAw1T0cZ/Cpn3p9pE/pxwUZCh01P20v5HoszYf11YUwMgcKUcco 0t51Hd9cXci4Mtsj50tIb3xP9vPSowzNeFtZv0A6U3lRlN+U9HB+koW8nwcbija80UWl3c= X-Google-Smtp-Source: AGHT+IF/bmYy6zZKhQ/XdBSM7HEWcKldjF+Dxr4HXMPJcLDSUwX/pOwDOqB3w/Mo6lV122ErjCWkKQ== X-Received: by 2002:a05:620a:40c4:b0:7b6:c92e:2e83 with SMTP id af79cd13be357-7bcd9739fb7mr2262735385a.17.1736635242719; Sat, 11 Jan 2025 14:40:42 -0800 (PST) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7bce3237e3bsm324353485a.23.2025.01.11.14.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jan 2025 14:40:42 -0800 (PST) Date: Sat, 11 Jan 2025 17:40:39 -0500 From: Mark Johnston To: Warner Losh Cc: Tomoaki AOKI , Konstantin Belousov , FreeBSD Hackers Subject: Re: widening ticks Message-ID: References: <20250111131106.4d2657de20eeed7eef5c0b15@dec.sakura.ne.jp> <20250112043543.86b303419f954b2b287d39d1@dec.sakura.ne.jp> List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4YVtlb4c8Xz4SvR X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Sat, Jan 11, 2025 at 01:12:24PM -0700, Warner Losh wrote: > Why not have jiffiesjust be an alias for tickl at the assembler level, then > just have extern unsigned long jiffies; so the types match and we don't > have fragile macros? At the assembler level, long and unsigned long are the > sane for object definition. We certainly could. I guess Linux code which does something like print("%lu\n", jiffies); will be incomatible otherwise. Aside from that, I'm not sure if any code would be affected by the difference in practice, but it's easy to add an alias.