lkml.org 
[lkml]   [2018]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options
On Wed, 25 Apr 2018, Mikulas Patocka wrote:

> You need to enable it on boot. Enabling it when the kernel starts to
> execute userspace code is already too late (because you would miss
> kvmalloc calls in the kernel boot path).
>

Is your motivation that since kvmalloc() never falls back to vmalloc() on
boot because fragmentation is not be an issue at boot that we should catch
bugs where it would matter if it had fallen back? If we are worrying
about falling back to vmalloc before even initscripts have run I think we
have bigger problems.

\
 
 \ /
  Last update: 2018-04-26 00:50    [W:0.194 / U:30.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site