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


Groups > linux.kernel > #1726230

Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t implementation

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t implementation
Date 2017-09-04 21:40 +0200
Message-ID <um5nZ-16D-27@gated-at.bofh.it> (permalink)
References <tUU6R-2DB-9@gated-at.bofh.it> <tXpq6-t5-225@gated-at.bofh.it> <ulYPw-5uO-17@gated-at.bofh.it> <um3vQ-8os-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Sep 04, 2017 at 08:34:44PM +0300, Alexey Dobriyan wrote:
> On Mon, Sep 04, 2017 at 02:37:24PM +0200, Peter Zijlstra wrote:
> > -	 once.o refcount.o usercopy.o errseq.o
> > -obj-y += string_helpers.o
> > +	 once.o usercopy.o errseq.o string_helpers.o hexdump.o kstrtox.o
> > +
> > +obj-$(CONFIG_REFCOUNT_FULL) += refcount.o
> >  obj-$(CONFIG_TEST_STRING_HELPERS) += test-string_helpers.o
> > -obj-y += hexdump.o
> >  obj-$(CONFIG_TEST_HEXDUMP) += test_hexdump.o
> > -obj-y += kstrtox.o
> 
> File per line so everything is not lumped together even if it is obj-y.

If that is policy mass convert everything and be done with it. Otherwise
I'll continue to use the predominant pattern, which in this case is a
giant obj-y +=. But mixed stuff is terribly annoying.

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


Thread

Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t  implementation Peter Zijlstra <peterz@infradead.org> - 2017-09-04 14:40 +0200
  Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t implementation Kees Cook <keescook@chromium.org> - 2017-09-04 19:20 +0200
    Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t  implementation Peter Zijlstra <peterz@infradead.org> - 2017-09-04 21:40 +0200
  Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t  implementation Alexey Dobriyan <adobriyan@gmail.com> - 2017-09-04 19:40 +0200
    Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t  implementation Peter Zijlstra <peterz@infradead.org> - 2017-09-04 21:40 +0200
      Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t  implementation Alexey Dobriyan <adobriyan@gmail.com> - 2017-09-05 20:20 +0200
        Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t  implementation Peter Zijlstra <peterz@infradead.org> - 2017-09-06 10:20 +0200

csiph-web