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


Groups > linux.kernel > #1641736 > unrolled thread

Re: [PATCH] sched: remove sched_find_first_bit()

Started byArnd Bergmann <arnd@arndb.de>
First post2017-05-15 16:20 +0200
Last post2017-05-15 16:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] sched: remove sched_find_first_bit() Arnd Bergmann <arnd@arndb.de> - 2017-05-15 16:20 +0200

#1641736 — Re: [PATCH] sched: remove sched_find_first_bit()

FromArnd Bergmann <arnd@arndb.de>
Date2017-05-15 16:20 +0200
SubjectRe: [PATCH] sched: remove sched_find_first_bit()
Message-ID<tHp0S-O3-23@gated-at.bofh.it>
On Sat, May 13, 2017 at 3:01 AM, Yury Norov <ynorov@caviumnetworks.com> wrote:

> include/asm-generic/bitops/sched.h as it declares only this
> function.  Alpha has it's own implementation, very similar to
> generic one, so it is also removed.

Nice consolidation, I see that every architecture once had a copy of
this function, and they were all removed at one point long ago,
except for Alpha, and there is no reason to leave that one in the tree.

I'll leave it to you and Ingo to figure out what the two callers should
do, but for removing function from asm-generic:

Acked-by: Arnd Bergmann <arnd@arndb.de>

Maybe you could split the patch into two changesets, and make the
first of them move the function to kernel/sched/rt.c, and the second
one (if we still want it then) can change the implementation to whatever
you conclude is ideal.

      Arnd

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web