mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	David Howells <dhowells@redhat.com>,
	Blaise Boscaccy <bboscaccy@linux.microsoft.com>
Subject: Re: [PATCH] oid_registry: allow arbitrary size OIDs
Date: Tue, 25 Nov 2025 10:33:25 -0800	[thread overview]
Message-ID: <20251125103325.561b88615d1f0a21ddc6262d@linux-foundation.org> (raw)
In-Reply-To: <833c858cd74533203b43180208734b84f1137af0.camel@HansenPartnership.com>

On Tue, 25 Nov 2025 13:19:56 -0500 James Bottomley <James.Bottomley@HansenPartnership.com> wrote:

> The current OID registry parser uses 64 bit arithmetic which limits us
> to supporting 64 bit or smaller OIDs.  This isn't usually a problem
> except that it prevents us from representing the 2.25. prefix OIDs
> which are the OID representation of UUIDs and have a 128 bit number
> following the prefix.  Rather than import not often used perl
> arithmetic modules, replace the current perl 64 bit arithmetic with a
> callout to bc, which is arbitrary precision.
> 

How big a problem is this in shipped kernels?  Should we backport it?

  reply	other threads:[~2025-11-25 18:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-25 18:19 James Bottomley
2025-11-25 18:33 ` Andrew Morton [this message]
2025-11-25 20:33 ` David Howells
2025-11-25 22:12   ` James Bottomley
2025-11-25 20:35 ` David Howells
2025-11-25 22:03   ` James Bottomley
2025-11-26 19:22 ` [PATCH v2 1/1] " James Bottomley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251125103325.561b88615d1f0a21ddc6262d@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=bboscaccy@linux.microsoft.com \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®