[haiku-commits] Re: haiku: hrev54000 - src/system/boot/arch/x86 src/system/boot/platform/efi src/system/boot/platform/bios_ia32 headers/private/kernel/boot/arch/x86

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 23 Mar 2020 10:08:53 -0400

On Mon, Mar 23, 2020 at 10:05 AM Adrien Destugues
<pulkomandy@xxxxxxxxxxxxx> wrote:

Again, isn't there a better way to handle this besides in the bootloader?

Do you have a magic way to do it in the kernel before the root filesystem is 
mounted?

Is there any particular reason it has to be done before the root
filesystem is mounted?

We have gotten along just fine without doing this so far, so I'm not
sure what the downside is of doing it after the root filesystem is
mounted vs. not doing it at all. Linux, after all, will do this after
the initramfs is fully loaded from disk, I believe, which is quite a
lot more I/O than mounting our filesystems is, I think.

If the problem that a microcode update solves is so severe that we
must patch before we mount the rootfs, then it really just needs to be
shipped as a BIOS update. Linux could not properly patch that kind of
thing either, so I don't know why we need to convolute the
bootloader/kernel handoff to solve a problem even they didn't.

-waddlesplash

Other related posts: