Re: [patch] sched: fix SysRq-N (normalize RT tasks)

From: Gene Heskett
Date: Thu Jun 14 2007 - 10:38:14 EST


On Thursday 14 June 2007, Ingo Molnar wrote:
>* Gene Heskett <gene.heskett@xxxxxxxxx> wrote:
>> Ingo: I appended this patch to the cfs-v16 patch for 2.6.22-rc4, and
>> got this while applying it:
>>
>> patching file kernel/sched.c
>> Hunk #1 FAILED at 7071.
>> Hunk #2 FAILED at 7095.
>> 2 out of 2 hunks FAILED -- saving rejects to file kernel/sched.c.rej
>
>yep, this fix is already included in CFS. (in fact in CFS i also changed
>this function to renormalizing negative-nice tasks to nice-0 - but this
>is not something upstream has to pick up for .22.)
>
> Ingo

I built it without it, but I saw something else that's been mentioned before
here:

MODPOST vmlinux
WARNING: arch/i386/kernel/built-in.o(.text+0x844d): Section mismatch:
reference to .init.text:amd_init_mtrr (between 'mtrr_bp_init'
and 'mtrr_save_state')
WARNING: arch/i386/kernel/built-in.o(.text+0x8452): Section mismatch:
reference to .init.text:cyrix_init_mtrr (between 'mtrr_bp_init'
and 'mtrr_save_state')
WARNING: arch/i386/kernel/built-in.o(.text+0x8457): Section mismatch:
reference to .init.text:centaur_init_mtrr (between 'mtrr_bp_init'
and 'mtrr_save_state')
WARNING: arch/i386/kernel/built-in.o(.text+0x9274): Section mismatch:
reference to .init.text: (between 'get_mtrr_state' and 'generic_get_mtrr')
WARNING: arch/i386/kernel/built-in.o(.text+0x9288): Section mismatch:
reference to .init.text: (between 'get_mtrr_state' and 'generic_get_mtrr')
WARNING: arch/i386/kernel/built-in.o(.text+0x92ac): Section mismatch:
reference to .init.text: (between 'get_mtrr_state' and 'generic_get_mtrr')

Which looks a little worrisome. Its done, so I'll see if it will boot.

It did. I had several items that failed on the shutdown, NDI why, but
everything seemed to restart ok. Now to live with it for a day or so.

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Netscape is not a newsreader, and probably never shall be.
-- Tom Christiansen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/