Re: [PATCH] percpu: fix DEBUG_PREEMPT per_cpu checking

2008-02-23 Thread Linus Torvalds
On Sat, 23 Feb 2008, Andrew Morton wrote: > > Hopefully Linus will apply the patch from Hugh's email, but that isn't the > general solution to this increasingly worse problem. Done. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH] percpu: fix DEBUG_PREEMPT per_cpu checking

2008-02-23 Thread Andrew Morton
On Sat, 23 Feb 2008 19:40:17 + (GMT) Hugh Dickins <[EMAIL PROTECTED]> wrote: > 2.6.25-rc1 percpu changes broke CONFIG_DEBUG_PREEMPT's per_cpu checking > on several architectures. On s390, sparc64 and x86 it's been weakened to > not checking at all; whereas on powerpc64 it's become too strict,

[PATCH] percpu: fix DEBUG_PREEMPT per_cpu checking

2008-02-23 Thread Hugh Dickins
2.6.25-rc1 percpu changes broke CONFIG_DEBUG_PREEMPT's per_cpu checking on several architectures. On s390, sparc64 and x86 it's been weakened to not checking at all; whereas on powerpc64 it's become too strict, issuing warnings from __raw_get_cpu_var in io_schedule and init_timer for example. Fix

Re: [PATCH] percpu: fix DEBUG_PREEMPT per_cpu checking

2008-02-11 Thread Mike Travis
Thanks Hugh for catching this. I've added it to my test code base and it works fine for x86_64... Reviewed-by: Mike Travis <[EMAIL PROTECTED]> Hugh Dickins wrote: > Recent percpu changes have broken CONFIG_DEBUG_PREEMPT's per_cpu checking > on several architectures. On s390, sparc64 and x86 it'

[PATCH] percpu: fix DEBUG_PREEMPT per_cpu checking

2008-02-08 Thread Hugh Dickins
Recent percpu changes have broken CONFIG_DEBUG_PREEMPT's per_cpu checking on several architectures. On s390, sparc64 and x86 it's been weakened to not checking at all; whereas on powerpc64 it's become too strict, issuing warnings from __raw_get_cpu_var in io_schedule and init_timer for example. F