Re: [PATCH 12/29] x86, tsx: Add a per thread transaction disable count

From: Linus Torvalds
Date: Sat Mar 23 2013 - 13:16:47 EST

On Sat, Mar 23, 2013 at 8:52 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> Really? Let's see:

Your test seems to assume that a single bit is sufficient, which
sounds unlikely. If you have any kind of nesting going on, you need
more than one bit. Then add/sub isn't a single "xor" of a bit any

That said, making it just a byte sounds more than enough. How deep
would anybody want to nest it? Do we care?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at