From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753429AbaHEBGQ (ORCPT ); Mon, 4 Aug 2014 21:06:16 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:13503 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752843AbaHEBGN (ORCPT ); Mon, 4 Aug 2014 21:06:13 -0400 X-IronPort-AV: E=Sophos;i="5.04,265,1406563200"; d="scan'208";a="34179570" Message-ID: <53E02E59.2050506@cn.fujitsu.com> Date: Tue, 5 Aug 2014 09:07:37 +0800 From: Lai Jiangshan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc14 Thunderbird/3.1.4 MIME-Version: 1.0 To: Tejun Heo CC: Linus Torvalds , Subject: Re: [GIT PULL] percpu changes for v3.17-rc1 References: <20140804140400.GB26230@htj.dyndns.org> In-Reply-To: <20140804140400.GB26230@htj.dyndns.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.103] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) >