From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Theodore Ts'o <tytso@mit.edu>, David Polakovic <email@dpolakovic.space>
Cc: Alexander Lobakin <aleksander.lobakin@intel.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Ingo Molnar <mingo@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
"H. Peter Anvin" <hpa@zytor.com>,
Alexander Lobakin <alexandr.lobakin@intel.com>,
Jakub Kicinski <kuba@kernel.org>
Subject: Re: proposition for fixing Y292B bug
Date: Fri, 5 Jul 2024 21:12:19 +0700 [thread overview]
Message-ID: <Zof_Q27WLYu-b1Sc@archie.me> (raw)
In-Reply-To: <20240704174917.GB973460@mit.edu>
[-- Attachment #1: Type: text/plain, Size: 2881 bytes --]
On Thu, Jul 04, 2024 at 01:49:17PM -0400, Theodore Ts'o wrote:
> On Wed, Jul 03, 2024 at 05:29:58PM +0200, David Polakovic wrote:
> >
> > I am not sure if I don't understand your solution, but extending the
> > memory designation from 64 to 128 bits, is another temporary
> > solution, which will again overflow one day.
> >
> > The sole reason why I was proposing the new "BigInt" type was to
> > store each digit of the time_c as separate element of array, which
> > could be resized (added one digit) as needed. The only limit would
> > then be the physical amount of memory in the machine.
>
> You state that you're not experienced enough to be able to send "a
> merge request". Fair enough; you also apparently don't know that
> github merges is not how kernel patches are submitted, reviewed, and
> integrated.
tl;dr: Documentation/process/submitting-patches.rst.
>
> What you apparently don't appreciate it is that performance is
> something that is critically important for the Linux kernel, and using
> multiple precision integers is not really compatible with the best and
> highest performance. Computer Science is an engineering discipline,
> and it's all about tradeoffs. You could enginere a plane that can
> travel faster than the speed of sound, but if that compromises fuel
> efficiency and annoying people who are below its flight path, pursuing
> speed at all costs is not going to lead to commercial success.
> (Exhibit 1: The Concorde).
>
> Similarly, trying to make sure that software will work in the year 292
> Billion AD might not be all something that most people would consider
> high priority. After all, it's.... unlikely... that the x86_64
> architecture will still be what we will be using 290 billion years
> from now. So if we need recompile the kernel sometime in the next 100
> billion years for some new CPU architecture, and if it's unlikely that
> hard drives brought brand new are likely to be still in operation a
> decade or two from now --- there is plenty of time to evolve the
> on-disk format before a billion years go by, let alone 100 billion or
> 200 billion years.
That was what I thought when I first read this thread (good CS principle
but questionable from engineering perspective).
>
> Finally, kernel development is driven by people who are willing to do
> the work. If you want to demonstrate that it's possible to use MP
> integer mathematicswithout horribly comprmising performance, then you
> need to do the work. (BTW, if you don't know what the term "cache
> line" means, then I encourage that you understand that first.) But
> dropping a pointer to a blog post and expecting that people to do your
> homework for you is not really realistic.
Oh, I missed that "DIY" nature.
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-07-05 14:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-30 8:05 proposition for fixing Y292B bug David Polakovic
2024-06-30 13:41 ` Bagas Sanjaya
2024-06-30 15:27 ` David Polakovic
2024-07-01 9:07 ` Bagas Sanjaya
2024-07-01 13:31 ` Alexander Lobakin
2024-07-03 15:29 ` David Polakovic
2024-07-04 17:49 ` Theodore Ts'o
2024-07-04 21:13 ` David Polakovic
2024-07-05 14:12 ` Bagas Sanjaya [this message]
2024-07-05 2:59 ` H. Peter Anvin
2024-07-05 14:17 ` Bagas Sanjaya
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=Zof_Q27WLYu-b1Sc@archie.me \
--to=bagasdotme@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=aleksander.lobakin@intel.com \
--cc=alexandr.lobakin@intel.com \
--cc=email@dpolakovic.space \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
--cc=tytso@mit.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.