Re: [PATCH] preset loops_per_jiffy for faster booting

From: Adam Kropelin (akropel1_at_rochester.rr.com)
Date: 07/10/04

  • Next message: Con Kolivas: "Re: [announce] [patch] Voluntary Kernel Preemption Patch"
    Date:	Sat, 10 Jul 2004 11:42:12 -0400
    To: Todd Poynor <tpoynor@mvista.com>
    
    

    On Fri, Jul 09, 2004 at 07:01:58PM -0700, Todd Poynor wrote:
    > Adam Kropelin wrote:
    >
    > > + if (preset_lpj) {
    > > + loops_per_jiffy = preset_lpj;
    > > + printk("Calibrating delay loop (skipped)... ");
    >
    > Suggest a "\n" at the end of that.

    Indeed. I propogated that bug from the original patch. I'll fix it.

    > Maybe add the precomputed value to
    > help bring incorrect presets to someone's attention, something like:
    >
    > + printk("BogoMIPS preset to %lu.%02lu\n",
    > + loops_per_jiffy/(500000/HZ),
    > + (loops_per_jiffy/(5000/HZ)) % 100);

    Will do.

    > > + If unsure, set this to 0. An incorrect value will cause delays in
    > > + the kernel to be incorrect. Although unlikely, in the extreme case
    > > + this might damage your hardware.
    >
    > I suppose it may result in unpredictable I/O errors, in case we want to
    > warn against that.

    Easy enough to throw it in.

    Another patch is forthcoming.

    --Adam

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Con Kolivas: "Re: [announce] [patch] Voluntary Kernel Preemption Patch"

    Relevant Pages

    • Re: [PATCH] preset loops_per_jiffy for faster booting
      ... Adam Kropelin wrote: ... help bring incorrect presets to someone's attention, ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH][2.4.27] PowerPC 745x data corruption bug fix
      ... shared cache line state. ... My original patch only set ... the shared state, but Tom Rini extended it to cover all the other ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: seperator error in __mask_snprintf_len
      ... To quote my original patch to Andrew: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC PATCH] x86 single-step (TF) vs system calls & traps
      ... > calling PTRACE_SINGLESTEP and then being confused, then I have no objection. ... I'm happy to endorse Davide's original patch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Type-checking for pci layer
      ... >> original patch? ... there are just too many pm patches flying around. ... > I did ack this patch, but I did so to let Pat take it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)