Re: [PATCHv2 2/2] mm/page_poisoning.c: Allow for zero poisoning
From: Pavel Machek <hidden>
Date: 2016-01-29 10:45:57
Also in:
linux-mm, lkml
From: Pavel Machek <hidden>
Date: 2016-01-29 10:45:57
Also in:
linux-mm, lkml
Hi!
By default, page poisoning uses a poison value (0xaa) on free. If this is changed to 0, the page is not only sanitized but zeroing on alloc with __GFP_ZERO can be skipped as well. The tradeoff is that detecting corruption from the poisoning is harder to detect. This feature also cannot be used with hibernation since pages are not guaranteed to be zeroed after hibernation.
So... this makes kernel harder to debug for performance advantage...? If so.. how big is the performance advantage? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html