Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1442832
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian |
| Date | 2016-07-13 22:50 +0200 |
| Message-ID | <rUzgu-87F-15@gated-at.bofh.it> (permalink) |
| References | <rM0SB-4FY-19@gated-at.bofh.it> <rUyu5-7yz-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jul 13, 2016 at 09:54:23PM +0200, Peter Zijlstra wrote: > Urgh, I hate this stuff :/ > + * Writer states & reader shift and bias. > + * > + * | +0 | +1 | +2 | +3 | > + * ----+----+----+----+----+ > + * LE | 12 | 34 | 56 | 78 | 0x12345678 > + * ----+----+----+----+----+ > + * BE | 78 | 56 | 34 | 12 | 0x12345678 > + * ----+----+----+----+----+ And of course I got that wrong.. its 0x78563412 in both cases.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian Peter Zijlstra <peterz@infradead.org> - 2016-07-13 22:00 +0200
Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian Peter Zijlstra <peterz@infradead.org> - 2016-07-13 22:50 +0200
Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian xinhui <xinhui.pan@linux.vnet.ibm.com> - 2016-07-14 09:50 +0200
Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian Peter Zijlstra <peterz@infradead.org> - 2016-07-14 11:40 +0200
Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian Peter Zijlstra <peterz@infradead.org> - 2016-07-14 11:50 +0200
Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian Boqun Feng <boqun.feng@gmail.com> - 2016-07-15 02:40 +0200
Re: [PATCH v3] locking/qrwlock: Let qrwlock has same layout regardless of the endian panxinhui <xinhui@linux.vnet.ibm.com> - 2016-07-15 08:30 +0200
csiph-web