google / kernel-sanitizers

Linux Kernel Sanitizers, fast bug-detectors for the Linux kernel
https://google.github.io/kernel-sanitizers/
436 stars 87 forks source link

Simplify x86 page splitting #116

Closed melver closed 4 years ago

melver commented 4 years ago

Thanks! It's strange that we cannot reproduce the conditions under which the split is required, but perhaps upstream reviewers will help us with that.

I think it's still required, and as far as I can tell, set_memory_4k() is executed exactly once with the default config. That makes sense, since the default uses 2M pool, and that is exactly HPAGE_SIZE.