The 4.9 merge window closes
My own favorite 'small detail under the hood' happens to be Andy Lutomirski's new virtually mapped kernel stack allocations. They make it easier to find and recover from stack overflows, but the effort also cleaned up some code, and added a kernel stack mapping cache to avoid any performance downsides." The virtually mapped kernel stack work was covered here in June. There were 14,308 non-merge changesets pulled for this release, meaning that 4.9 will be, by far, the busiest development cycle ever.
Posted Oct 17, 2016 3:55 UTC (Mon)
by sergey.senozhatsky (subscriber, #91933)
[Link] (1 responses)
using a pointer to a stack-allocated memory in SG list won't work either.
-ss
Posted Oct 17, 2016 17:41 UTC (Mon)
by luto (guest, #39314)
[Link]
This is a terrible hack and I hope to never submit this patch :)
Posted Oct 17, 2016 11:39 UTC (Mon)
by adobriyan (subscriber, #30858)
[Link] (4 responses)
Posted Oct 17, 2016 13:30 UTC (Mon)
by pbonzini (subscriber, #60935)
[Link] (2 responses)
Posted Oct 17, 2016 15:29 UTC (Mon)
by adobriyan (subscriber, #30858)
[Link] (1 responses)
I wonder if Windows kernel stacks are vmalloc'd. With non-power-of-2 sizes they probably are.
Posted Oct 17, 2016 18:54 UTC (Mon)
by pbonzini (subscriber, #60935)
[Link]
Posted Oct 18, 2016 12:38 UTC (Tue)
by lkundrak (subscriber, #43452)
[Link]
The 4.9 merge window closes
> do DMA from temporary buffers on the stack ("Don't do it!") now really
> need to change their evil ways. So there is some fallout from this,
> and I expect a couple of drivers to need minor fixes.
The 4.9 merge window closes
The 4.9 merge window closes
The 4.9 merge window closes
The 4.9 merge window closes
Now it is 8/16 KB and optionally virtual (wait and see what RHEL and SLES will do).
The 4.9 merge window closes
Do they have "big bloated stacks"? The WDM documentation suggests it's "approximately three pages".
The 4.9 merge window closes
