Re: 2.6.16-rc6-mm2

Andrew Morton
2006-06-10T16:24:17Z

On Sat, 10 Jun 2006 12:23:37 +0200
"Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> wrote:

> On 10/06/06, Andrew Morton <akpm@osdl.org> wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17-rc6/2.6.17-rc6-mm2/
> >
>
> I get a lot of "BUG: using smp_processor_id() in preemptible"
>
> Real Time Clock Driver v1.12ac
> printk: 22314 messages suppressed.
> BUG: using smp_processor_id() in preemptible [00000001] code: restorecon/393
> caller is __handle_mm_fault+0x2b/0x20d
> [<c0103ba8>] show_trace+0xd/0xf
> [<c0103c7a>] dump_stack+0x17/0x19
> [<c0203bcc>] debug_smp_processor_id+0x8c/0xa0
> [<c0160e60>] __handle_mm_fault+0x2b/0x20d
> [<c0116f7b>] do_page_fault+0x226/0x61f
> [<c0103959>] error_code+0x39/0x40

You'll need to disable CONFIG_DEBUG_PREEMPT, sorry.

Christoph, that is the last straw - I'll drop all these patches. There's a
file in -mm Documentation/SubmitChecklist - please tape to to yor monitor.

page-flags.h was an inappropriate place for that code.