Re: [PATCH 001/104] KVM: Fix *nopage() in kvm_main.c

From: Avi Kivity
Date: Mon Sep 17 2007 - 05:19:49 EST


Avi Kivity wrote:
> Christoph Hellwig wrote:
>
>> On Mon, Sep 17, 2007 at 10:30:43AM +0200, Avi Kivity wrote:
>>
>>
>>> From: Nguyen Anh Quynh <aquynh@xxxxxxxxx>
>>>
>>> *nopage() in kvm_main.c should only store the type of mmap() fault if
>>> the pointers are not NULL. This patch fixes the problem.
>>>
>>>
>> Care to convert it to ->faul while you're at it?
>>
>>
>
> I'll add this to my todo, though not sure It'll be in time for .24. If
> someone sends a patch I'll apply it.
>
>

I should mention that the converting to use ->fault() is a 15-minute
change; the tricky part is adding backwards compatibility for the
external module package.


--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
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/