Re: 2.6.8-rc2-mm1

From: Andrew Morton (akpm_at_osdl.org)
Date: 07/31/04

  • Next message: willy discart: "using usb storage"
    Date:	Sat, 31 Jul 2004 13:21:53 -0700
    To: Zwane Mwaikambo <zwane@linuxpower.ca>
    
    

    Zwane Mwaikambo <zwane@linuxpower.ca> wrote:
    >
    > Oh bugger, spoke too soon, it took a bit longer this time.

    Sorry. Try this one instead.

    --- 25/fs/jbd/checkpoint.c~journal_clean_checkpoint_list-latency-fix-fix 2004-07-31 11:43:39.320530424 -0700
    +++ 25-akpm/fs/jbd/checkpoint.c 2004-07-31 13:20:22.562303576 -0700
    @@ -497,8 +497,8 @@ int __journal_clean_checkpoint_list(jour
                      * We don't test cond_resched() here because another CPU could
                      * be waiting on j_list_lock() while holding a different lock.
                      */
    - if ((ret & 127) == 127) {
    - spin_unlock(&journal->j_list_lock);
    + transaction = journal->j_checkpoint_transactions
    + if (transaction && (ret & 127) == 127) {
                             /*
                              * We need to schedule away. Rotate both this
                              * transaction's buffer list and the checkpoint list to
    @@ -508,10 +508,9 @@ int __journal_clean_checkpoint_list(jour
                             if (jh)
                                     transaction->t_checkpoint_list = jh->b_cpnext;
     
    - transaction = journal->j_checkpoint_transactions;
    - if (transaction)
    - journal->j_checkpoint_transactions =
    + journal->j_checkpoint_transactions =
                                             transaction->t_cpnext;
    + spin_unlock(&journal->j_list_lock);
                             return ret;
                     }
     #endif
    _

    -
    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: willy discart: "using usb storage"

    Relevant Pages

    • [PATCH] shrink inode when quota is disabled
      ... drop quota array in inode struct if no quota support ... +#ifdef CONFIG_QUOTA ... 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)
    • [PATCH][2.6.7-mm4] perfctr update 1/6: fix linkage error
      ... static void __init do_rdpmc(unsigned pmc, unsigned unused2) ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [-mm patch] arch/i386/kernel/traps.c: fix SYSFS=n compile
      ... : undefined reference to `last_sysfs_file' ... +#ifdef CONFIG_SYSFS ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Entry points for execution
      ... #ifdef CONFIG_LINUX_JAIL ... Powered by Linare Corporation ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.1-mm1: sound/pci/cmipci.c compile error
      ... > I got the following compile error when trying to compile ... #ifdef SUPPORT_JOYSTICK ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)