All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] percpu changes for v3.17-rc1
@ 2014-08-04 14:04 Tejun Heo
  2014-08-05  1:07 ` Lai Jiangshan
  0 siblings, 1 reply; 2+ messages in thread
From: Tejun Heo @ 2014-08-04 14:04 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

Hello, Linus.

* Major reorganization of percpu header files which I think makes
  things a lot more readable and logical than before.

* percpu-refcount is updated so that it requires explicit destruction
  and can be reinitialized if necessary.  This was pulled into the
  block tree to replace the custom percpu refcnting implemented in
  blk-mq.

* In the process, percpu and percpu-refcount got cleaned up a bit.

This pull request contains two stray workqueue commits from Lai.
These are my mistakes.  I mistakenly applied the two to this tree and
then cherry picked them to the workqueue tree but forgot to roll them
back from this one.  I realized this only after percpu-refcount
changes were pulled into the block tree so couldn't fix it up
afterwards.  Sorry.  They shouldn't cause any problem during merge.

Thanks.

The following changes since commit ebe06187bf2aec10d537ce4595e416035367d703:

  epoll: fix use-after-free in eventpoll_release_file (2014-06-16 17:21:59 -1000)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-3.17

for you to fetch changes up to 2d7227828e1475c7b272e55bd70c4cec8eea219a:

  percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero() (2014-06-28 08:10:14 -0400)

----------------------------------------------------------------
Christoph Lameter (1):
      percpu: Use ALIGN macro instead of hand coding alignment calculation

Lai Jiangshan (2):
      workqueue: clear POOL_DISASSOCIATED in rebind_workers()
      workqueue: stronger test in process_one_work()

Tejun Heo (18):
      percpu: disallow archs from overriding SHIFT_PERCPU_PTR()
      percpu: introduce arch_raw_cpu_ptr()
      percpu: include/asm-generic/percpu.h should contain only arch-overridable parts
      percpu: move accessors from include/linux/percpu.h to percpu-defs.h
      percpu: reorganize include/linux/percpu-defs.h
      percpu: only allow sized arch overrides for {raw|this}_cpu_*() ops
      percpu: move generic {raw|this}_cpu_*_N() definitions to include/asm-generic/percpu.h
      percpu: move {raw|this}_cpu_*() definitions to include/linux/percpu-defs.h
      percpu: reorder macros in percpu header files
      percpu: use raw_cpu_*() to define __this_cpu_*()
      percpu: preffity percpu header files
      percpu: invoke __verify_pcpu_ptr() from the generic part of accessors and operations
      percpu-refcount, aio: use percpu_ref_cancel_init() in ioctx_alloc()
      percpu-refcount: one bit is enough for REF_STATUS
      percpu-refcount: add helpers for ->percpu_count accesses
      percpu-refcount: use unsigned long for pcpu_count pointer
      percpu-refcount: require percpu_ref to be exited explicitly
      percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()

 arch/x86/include/asm/percpu.h    |   3 +-
 drivers/target/target_core_tpg.c |   4 +-
 fs/aio.c                         |   6 +-
 include/asm-generic/percpu.h     | 410 ++++++++++++++++++++----
 include/linux/percpu-defs.h      | 380 +++++++++++++++++++++-
 include/linux/percpu-refcount.h  |  64 ++--
 include/linux/percpu.h           | 673 ---------------------------------------
 kernel/cgroup.c                  |   8 +-
 kernel/workqueue.c               |  19 +-
 lib/percpu-refcount.c            |  86 +++--
 mm/percpu.c                      |   3 +-
 11 files changed, 834 insertions(+), 822 deletions(-)

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] percpu changes for v3.17-rc1
  2014-08-04 14:04 [GIT PULL] percpu changes for v3.17-rc1 Tejun Heo
@ 2014-08-05  1:07 ` Lai Jiangshan
  0 siblings, 0 replies; 2+ messages in thread
From: Lai Jiangshan @ 2014-08-05  1:07 UTC (permalink / raw)
  To: Tejun Heo; +Cc: Linus Torvalds, linux-kernel

On 08/04/2014 10:04 PM, Tejun Heo wrote:
> Hello, Linus.
> 
> * Major reorganization of percpu header files which I think makes
>   things a lot more readable and logical than before.
> 
> * percpu-refcount is updated so that it requires explicit destruction
>   and can be reinitialized if necessary.  This was pulled into the
>   block tree to replace the custom percpu refcnting implemented in
>   blk-mq.
> 
> * In the process, percpu and percpu-refcount got cleaned up a bit.
> 
> This pull request contains two stray workqueue commits from Lai.
> These are my mistakes.  I mistakenly applied the two to this tree and
> then cherry picked them to the workqueue tree but forgot to roll them
> back from this one.  I realized this only after percpu-refcount
> changes were pulled into the block tree so couldn't fix it up
> afterwards.  Sorry.  They shouldn't cause any problem during merge.
> 
> Thanks.
> 
> The following changes since commit ebe06187bf2aec10d537ce4595e416035367d703:
> 
>   epoll: fix use-after-free in eventpoll_release_file (2014-06-16 17:21:59 -1000)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-3.17
> 
> for you to fetch changes up to 2d7227828e1475c7b272e55bd70c4cec8eea219a:
> 
>   percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero() (2014-06-28 08:10:14 -0400)
> 
> ----------------------------------------------------------------
> Christoph Lameter (1):
>       percpu: Use ALIGN macro instead of hand coding alignment calculation
> 
> Lai Jiangshan (2):
>       workqueue: clear POOL_DISASSOCIATED in rebind_workers()
>       workqueue: stronger test in process_one_work()

These two are also requested to be pulled on workqueue tree.

> 
> Tejun Heo (18):
>       percpu: disallow archs from overriding SHIFT_PERCPU_PTR()
>       percpu: introduce arch_raw_cpu_ptr()
>       percpu: include/asm-generic/percpu.h should contain only arch-overridable parts
>       percpu: move accessors from include/linux/percpu.h to percpu-defs.h
>       percpu: reorganize include/linux/percpu-defs.h
>       percpu: only allow sized arch overrides for {raw|this}_cpu_*() ops
>       percpu: move generic {raw|this}_cpu_*_N() definitions to include/asm-generic/percpu.h
>       percpu: move {raw|this}_cpu_*() definitions to include/linux/percpu-defs.h
>       percpu: reorder macros in percpu header files
>       percpu: use raw_cpu_*() to define __this_cpu_*()
>       percpu: preffity percpu header files
>       percpu: invoke __verify_pcpu_ptr() from the generic part of accessors and operations
>       percpu-refcount, aio: use percpu_ref_cancel_init() in ioctx_alloc()
>       percpu-refcount: one bit is enough for REF_STATUS
>       percpu-refcount: add helpers for ->percpu_count accesses
>       percpu-refcount: use unsigned long for pcpu_count pointer
>       percpu-refcount: require percpu_ref to be exited explicitly
>       percpu-refcount: implement percpu_ref_reinit() and percpu_ref_is_zero()
> 
>  arch/x86/include/asm/percpu.h    |   3 +-
>  drivers/target/target_core_tpg.c |   4 +-
>  fs/aio.c                         |   6 +-
>  include/asm-generic/percpu.h     | 410 ++++++++++++++++++++----
>  include/linux/percpu-defs.h      | 380 +++++++++++++++++++++-
>  include/linux/percpu-refcount.h  |  64 ++--
>  include/linux/percpu.h           | 673 ---------------------------------------
>  kernel/cgroup.c                  |   8 +-
>  kernel/workqueue.c               |  19 +-
>  lib/percpu-refcount.c            |  86 +++--
>  mm/percpu.c                      |   3 +-
>  11 files changed, 834 insertions(+), 822 deletions(-)
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-05  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 14:04 [GIT PULL] percpu changes for v3.17-rc1 Tejun Heo
2014-08-05  1:07 ` Lai Jiangshan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.