[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130827165011.b46c71b618e5cdc444af2804@linux-foundation.org>
Date: Tue, 27 Aug 2013 16:50:11 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org, x86@...nel.org, peterz@...radead.org,
Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 4/6] Move might_sleep and friends from kernel.h to
sched.h
On Fri, 16 Aug 2013 14:17:22 -0700 Andi Kleen <andi@...stfloor.org> wrote:
> These are really related to scheduling, so they should be in sched.h
> Users usually will need to schedule anyways.
>
> The advantage of having them there is that we can access some of the
> scheduler inlines to make their fast path more efficient. This will come
> in a followon patch.
alpha allmodconfig:
mm/memory.c:4236: error: redefinition of 'might_fault'
include/linux/sched.h:2485: note: previous definition of 'might_fault' was here
Presumably because CONFIG_PROVE_LOCKING=n && CONFIG_DEBUG_ATOMIC_SLEEP=y.
That code is too tangly for me to fix it up with any confidence, sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists