Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1262278 > unrolled thread
| Started by | Jungseok Lee <jungseoklee85@gmail.com> |
|---|---|
| First post | 2015-11-04 14:30 +0100 |
| Last post | 2015-11-17 13:30 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH v2] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition Jungseok Lee <jungseoklee85@gmail.com> - 2015-11-04 14:30 +0100
Re: [PATCH v2] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition Tejun Heo <tj@kernel.org> - 2015-11-16 17:00 +0100
Re: [PATCH v2] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition Jungseok Lee <jungseoklee85@gmail.com> - 2015-11-17 13:30 +0100
| From | Jungseok Lee <jungseoklee85@gmail.com> |
|---|---|
| Date | 2015-11-04 14:30 +0100 |
| Subject | [PATCH v2] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition |
| Message-ID | <qr6iu-ZS-9@gated-at.bofh.it> |
As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not used any more. That is, no code refers to the definition. Acked-by: Christoph Lameter <cl@linux.com> Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com> --- I've kept Acked-by from Christoph since there is no change in generic percpu code between v1 and v2. Changes since v1: - Removed PERCPU_ENOUGH_ROOM from ia64 arch/ia64/include/asm/percpu.h | 2 -- include/linux/percpu.h | 6 ------ 2 files changed, 8 deletions(-) diff --git a/arch/ia64/include/asm/percpu.h b/arch/ia64/include/asm/percpu.h index 0ec484d..b929579 100644 --- a/arch/ia64/include/asm/percpu.h +++ b/arch/ia64/include/asm/percpu.h @@ -6,8 +6,6 @@ * David Mosberger-Tang <davidm@hpl.hp.com> */ -#define PERCPU_ENOUGH_ROOM PERCPU_PAGE_SIZE - #ifdef __ASSEMBLY__ # define THIS_CPU(var) (var) /* use this to mark accesses to per-CPU variables... */ #else /* !__ASSEMBLY__ */ diff --git a/include/linux/percpu.h b/include/linux/percpu.h index caebf2a..4bc6daf 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -18,12 +18,6 @@ #define PERCPU_MODULE_RESERVE 0 #endif -#ifndef PERCPU_ENOUGH_ROOM -#define PERCPU_ENOUGH_ROOM \ - (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \ - PERCPU_MODULE_RESERVE) -#endif - /* minimum unit size, also is the maximum supported allocation size */ #define PCPU_MIN_UNIT_SIZE PFN_ALIGN(32 << 10) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2015-11-16 17:00 +0100 |
| Subject | Re: [PATCH v2] percpu: remove PERCPU_ENOUGH_ROOM which is stale definition |
| Message-ID | <qvumg-M6-53@gated-at.bofh.it> |
| In reply to | #1262278 |
On Wed, Nov 04, 2015 at 01:26:07PM +0000, Jungseok Lee wrote: > As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not > used any more. That is, no code refers to the definition. > > Acked-by: Christoph Lameter <cl@linux.com> > Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com> Applied to percpu/for-4.5. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Jungseok Lee <jungseoklee85@gmail.com> |
|---|---|
| Date | 2015-11-17 13:30 +0100 |
| Message-ID | <qvNyy-4XK-9@gated-at.bofh.it> |
| In reply to | #1270312 |
On Nov 17, 2015, at 12:55 AM, Tejun Heo wrote: Dear Tejun, > On Wed, Nov 04, 2015 at 01:26:07PM +0000, Jungseok Lee wrote: >> As pure cleanup, this patch removes PERCPU_ENOUGH_ROOM which is not >> used any more. That is, no code refers to the definition. >> >> Acked-by: Christoph Lameter <cl@linux.com> >> Signed-off-by: Jungseok Lee <jungseoklee85@gmail.com> > > Applied to percpu/for-4.5. I don't know how to handle this one as not getting feedbacks from ia64 side. Thanks for taking caring of this one! Best Regards Jungseok Lee -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web