Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1605709

Re: [PATCH 1/5] x86: Implement __WARN using UD0

From Arjan van de Ven <arjan@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/5] x86: Implement __WARN using UD0
Date 2017-03-21 16:20 +0100
Message-ID <tntJN-55L-29@gated-at.bofh.it> (permalink)
References <tm7Lj-4jK-7@gated-at.bofh.it> <tm7Lj-4jK-15@gated-at.bofh.it> <tnsNI-4r2-5@gated-at.bofh.it> <tntJN-55L-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3/21/2017 8:14 AM, Peter Zijlstra wrote:
> For self-documentation purposes, maybe use a define for the length of
> the ud0 instruction?

#define TWO 2

;-)


some things make sense as a define, others don't
(adding a comment, maybe)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] x86 optimizations Peter Zijlstra <peterz@infradead.org> - 2017-03-17 22:40 +0100
  [PATCH 3/5] atomic: Introduce atomic_try_cmpxchg() Peter Zijlstra <peterz@infradead.org> - 2017-03-17 22:40 +0100
  [PATCH 5/5] x86,atomic: Use atomic_try_cmpxchg Peter Zijlstra <peterz@infradead.org> - 2017-03-17 22:40 +0100
  [PATCH 1/5] x86: Implement __WARN using UD0 Peter Zijlstra <peterz@infradead.org> - 2017-03-17 22:40 +0100
    Re: [PATCH 1/5] x86: Implement __WARN using UD0 Josh Poimboeuf <jpoimboe@redhat.com> - 2017-03-21 15:20 +0100
      Re: [PATCH 1/5] x86: Implement __WARN using UD0 Arjan van de Ven <arjan@linux.intel.com> - 2017-03-21 16:20 +0100
      Re: [PATCH 1/5] x86: Implement __WARN using UD0 Josh Poimboeuf <jpoimboe@redhat.com> - 2017-03-21 16:40 +0100
        Re: [PATCH 1/5] x86: Implement __WARN using UD0 Peter Zijlstra <peterz@infradead.org> - 2017-03-21 16:50 +0100
      Re: [PATCH 1/5] x86: Implement __WARN using UD0 Peter Zijlstra <peterz@infradead.org> - 2017-03-21 17:50 +0100
      Re: [PATCH 1/5] x86: Implement __WARN using UD0 Peter Zijlstra <peterz@infradead.org> - 2017-03-22 09:50 +0100
        Re: [PATCH 1/5] x86: Implement __WARN using UD0 Josh Poimboeuf <jpoimboe@redhat.com> - 2017-03-22 15:20 +0100
  [PATCH 4/5] refcount: Use atomic_try_cmpxchg() Peter Zijlstra <peterz@infradead.org> - 2017-03-17 22:40 +0100
  [PATCH 2/5] bug: Add _ONCE logic to report_bug() Peter Zijlstra <peterz@infradead.org> - 2017-03-17 22:40 +0100

csiph-web