Re: [PATCH] raceless request_region() fix (was Re: Linux 2.6.0-test4)

From: Jeff Garzik (jgarzik_at_pobox.com)
Date: 08/25/03

  • Next message: STANDARD CHARTERED BANK: "PINJAMAN TUNAI ( KTA )"
    Date:	Mon, 25 Aug 2003 17:59:20 -0400
    To: insecure@mail.od.ua
    
    

    Is it a race if noone cares? :)

    The code does

            if (!request_region(...))
                    fail
            touch hardware
            release_region
            if (!request_region(...))
                    fail

    If the HIGHLY UNLIKELY event of another ISA driver claiming this region
    occurs, the system continues working just fine.

    At the time, I was thinking that any further touching of the code should
    be converting it to a more pnp-like structure.

            Jeff

    -
    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: STANDARD CHARTERED BANK: "PINJAMAN TUNAI ( KTA )"

    Relevant Pages