Hi Robert, hi list,

I have a patch ready that makes the patches for win4lin compile and run 
under kernel-2.4.18-6mdk. I am not a kernel-hacker, therefore I don't 
know wether everything's done right, but, at least for me, it works.

Apply the patch after applying the patches from netraverse.

Regards, Uwe

P.S.: I did send the patch before, but as I did not see the mail show up 
on the list, I resend it.

Robert Shade wrote:
>>Running 2.4.17.16mdk :
>>- really use andrea vm_24.
>>
> 
> I assume that you mean that you are running win4lin successfully with this 
> kernel? (with necessary patches of course) If you are, please send me the 
> file mm/vmscan.c (for reasons I will explain below) from your source tree to 
> see what is going on.
> 
> Yeah, I did look through the mandrake cvs after I posted and saw that they've 
> been using it since then.  However looking at vm_24 it looks like the 
> collision occurs with the win4lin patch as well.
> 
> The problem occurs in the swap_out function in the file mm/vmscan.c, in the 
> vanilla kernel the arguments to swap_out are:
> 
>       unsigned int priority, unsigned int gfp_mask, zone_t * classzone
> 
> however, in the aa vm_* kernel patches he made the arguments to swap_out:
> 
>       zone_t * classzone
> 
> The win4lin patch uses the priority and gfp_mask variables like so:
>       
>       CALL_MKI_HOOK(MKI_HOOK_SWAP, (void *)priority, (void *)gfp_mask);
> 
> as far as I can see, any kernel with the aa VM will fail to accept any 
> win4lin patches.
> 
> This might be on the edge of the scope of this list, but hopefully the 
> maintainer of the kernel rpm is listening.
> 
> Thanks.
> 
> Robert
> 
> 
> 
> 
> 


Attachment: kernel-fix-mki.patch.bz2
Description: Binary data

Reply via email to