Re: [PATCH] PPC64: lockfix for rtas error log

From: Paul Mackerras (paulus_at_samba.org)
Date: 06/30/04

  • Next message: Andre Costa: "2.4.26: IDE drives become unavailable randomly"
    Date:	Wed, 30 Jun 2004 21:27:09 +1000
    To: linas@austin.ibm.com
    
    

    Linas,

    > This patch moves the location of a lock in order to protect
    > the contents of a buffer until it has been copied to its final
    > destination. Prior to this, a race existed whereby the buffer
    > could be filled even while it was being emptied.

    Given that log_error() seems to be a no-op at the moment AFAICT, and
    that Ben H was concerned about possible deadlocks if log_error
    actually did do something, I'd like to see a resolution of (a) what
    log_error should be doing and (b) whether there is in fact any
    possibility of deadlock with this patch once (a) is resolved.

    Thanks,
    Paul.
    -
    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: Andre Costa: "2.4.26: IDE drives become unavailable randomly"

    Relevant Pages

    • Re: [PATCH] speed up SATA
      ... write-cache-off queueing will be slightly slower than ... since most drives have slightly stricter ... but an 8MB buffer doing 4K random-ops could ... 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: A problem about DIRECT IO on ext3
      ... fails if the offset or buffer is NOT filesystem blocksize ... So, its possible that your buffer is atleast 512byte aligned, ... > soft/hard sector sizes. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Lockless file reading
      ... > a 3-byte sequence to not be written when both ... > a buffer of such data is controlled so a write ... writes aren't always in processor order (see ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: x86, ARM, PARISC, PPC, MIPS and Sparc folks please run this
      ... write buffer and it isn't doing that. ... I'm saying that the bug can't be that, because such a bug would affect ... > performance isn't viable in such many embedded environments. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] detailed physical memory info in fs/proc/task_mmu.c [2.6.0-test9]
      ... JOSE - Open Source dEvelopers at ufam.edu.br ... buffer += sprintf(buffer, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)