Quantcast
Channel: lkml.org : Pallipadi, Venkatesh
Viewing all articles
Browse latest Browse all 864

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, valid ...

$
0
0
Linus Torvalds writes: (Summary) wrote:

[...]

the padding with 0, and only update the low bits with single-copy atomicity. It's actually still single-copy atomicity as a 64-bit value. It's actually still single-copy atomicity as a 64-bit value. Because it doesn't matter how you write the upper bits. You'll be writing the same value to them (zero) anyway.
writing the same value to them (zero) anyway.
So who cares if the write ends up being two instructions, because the write to the upper bits doesn't actually *do* anything. write to the upper bits doesn't actually *do* anything.

Viewing all articles
Browse latest Browse all 864

Trending Articles