On Fri, Aug 21, 2020 at 12:05 PM Linus Torvalds wrote: > > Well, the fix is simple, although I don't love the magic PageKsm > semantics that hide it from the page count. > > But since (a) a Ksm page is presumably normally shared (ie things like > all zeroes) and (b) copying should always be safe, just do that. I meant to attach the patch that did that, but didn't. Here is the obvious modified version. Linus