Messages in this thread | | | Date | Tue, 27 Aug 2013 16:50:11 -0700 | From | Andrew Morton <> | 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@firstfloor.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.
| |