On Wed, Jul 20, 2016 at 08:12:13PM +0200, Alexander Potapenko wrote: > >>>>> It's easy to reproduce in my setup: virtual machine with some amount of > >>>>> swap space and try allocate about the size of RAM in userspace (I used > >>>>> usemem[1] for that). > > Am I understanding right that you're seeing allocation failures from > the stack depot? How often do they happen? Are they reported under > heavy load, or just when you boot the kernel? As I described, it happens under memory pressure. > Allocating with __GFP_NOWARN will help here, but I think we'd better > figure out what's gone wrong. > I've sent https://lkml.org/lkml/2016/7/14/566, which should reduce the > stack depot's memory consumption, for review - can you see if the bug > is still reproducible with that? I was not able to trigger the failure with the same test case. Tested with v2 of the patch. (Links to http://lkml.kernel.org/ or other archive with message-id in url is prefered. lkml.org is garbage) -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>