From: Petr Tesarik
If a segmentation fault is caused by an address in the vmalloc area, check
that the target page is present.
Currently, if the kernel hits a guard page the vmalloc area, UML assumes
that the fault is caused merely by a stale mapping and will be fixed by
flush_tlb_kernel_vm
From: Petr Tesarik
Improve UML handling of segmentation faults in kernel mode. Although
such page faults are generally caused by a kernel bug, it is annoying
if they cause an infinite loop, or panic the kernel. More importantly,
a robust implementation allows to write KUnit tests for various
From: Petr Tesarik
Do not call panic() on unrecoverable page faults in kernel mode. Although
such page faults always indicate a bug in the kernel, other architectures
prefer to kill only the current process and continue.
The new behavior is useful for testing intentional kernel mode page faults
From: Petr Tesarik
If a segmentation fault is caused by accessing an address in the vmalloc
area, check that the target page is present.
Currently, if the kernel hits a guard page in the vmalloc area, UML blindly
assumes that the fault is caused by a stale mapping and will be fixed by
On 2/23/2024 3:04 PM, Petr Tesarik wrote:
> From: Petr Tesarik
>
> If a segmentation fault is caused by accessing an address in the vmalloc
> area, check that the target page is present.
>
> Currently, if the kernel hits a guard page in the vmalloc area, UML blindly
> assu
On 3/12/2024 4:07 PM, Petr Tesarik wrote:
> On 2/23/2024 3:04 PM, Petr Tesarik wrote:
>> From: Petr Tesarik
>>
>> If a segmentation fault is caused by accessing an address in the vmalloc
>> area, check that the target page is present.
>>
>> Currently,
On 3/19/2024 11:18 PM, Richard Weinberger wrote:
> - Ursprüngliche Mail -
>> Von: "Petr Tesarik"
>> An: "richard" , "anton ivanov"
>> , "Johannes Berg"
>> , "linux-um" ,
>> "linux-kernel"
&g
On 3/21/2024 5:44 AM, David Gow wrote:
> On Fri, 23 Feb 2024 at 22:07, Petr Tesarik
> wrote:
>>
>> From: Petr Tesarik
>>
>> If a segmentation fault is caused by accessing an address in the vmalloc
>> area, check that the target page is present.
>>
>