[RFT][patch] Scheduling for HTT and not only

Alexander Motin mav at FreeBSD.org
Sat Mar 3 17:57:01 UTC 2012


On 03.03.2012 18:57, Mario Lobo wrote:
> On Saturday 03 March 2012 13:30:50 Alexander Motin wrote:
>> On 03.03.2012 17:26, Ivan Klymenko wrote:
>>> I have FreeBSD 10.0-CURRENT #0 r232253M
>>> Patch in r232454 broken my DRM
>>> My system patched http://people.freebsd.org/~kib/drm/all.13.5.patch
>>> After build kernel with only r232454 patch Xorg log contains:
>>> ...
>>> [   504.865] [drm] failed to load kernel module "i915"
>>> [   504.865] (EE) intel(0): [drm] Failed to open DRM device for
>>> pci:0000:00:02.0: File exists [   504.865] (EE) intel(0): Failed to
>>> become DRM master.
>>> [   504.865] (**) intel(0): Depth 24, (--) framebuffer bpp 32
>>> [   504.865] (==) intel(0): RGB weight 888
>>> [   504.865] (==) intel(0): Default visual is TrueColor
>>> [   504.865] (**) intel(0): Option "DRI" "True"
>>> [   504.865] (**) intel(0): Option "TripleBuffer" "True"
>>> [   504.865] (II) intel(0): Integrated Graphics Chipset: Intel(R)
>>> Sandybridge Mobile (GT2) [   504.865] (--) intel(0): Chipset:
>>> "Sandybridge Mobile (GT2)"
>>> and black screen...
>>>
>>> do not even know why it happened ... :(
>>
>> I've just rebuilt my Core2Duo laptop with r232454 and have no any
>> problem with Xorg and (at least old) Intel video driver. Now writing
>> this mail from it. Now started rebuilding of my home server. I am not
>> sure how this change can cause such specific effect. Are you sure you
>> haven't changed anything else unexpectedly?
>
> I'd like to test the patch on my 8.2-STABLE desktop.
> Phenom II quad / 16 GRam
>
> I have sched.htt40.patch here. Is this the latest?

It is, mostly. Code committed to the HEAD was slightly modified. Here is 
the patch as it is in SVN:
http://svnweb.freebsd.org/base/head/sys/kern/sched_ule.c?r1=229429&r2=232207&view=patch

And today I've fixed one found bug:
http://svnweb.freebsd.org/base/head/sys/kern/sched_ule.c?r1=232207&r2=232454&view=patch

> Will it apply cleanly on it?
> Any "gotchas"?

Sorry, I have no idea about difference from 8-STABLE. You may try.

-- 
Alexander Motin


More information about the freebsd-hackers mailing list