Re: OOM-Killer kills too much with 2.6.32.2

From: Roman Jarosz
Date: Wed Jan 27 2010 - 04:50:37 EST


On Wed, 27 Jan 2010 01:14:44 +0100, KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> wrote:

> - mapping_set_gfp_mask(obj->filp->f_path.dentry->d_inode->i_mapping,
> - GFP_HIGHUSER |
> - __GFP_COLD |
> - __GFP_FS |
> - __GFP_RECLAIMABLE |
> - __GFP_NORETRY |
> - __GFP_NOWARN |
> - __GFP_NOMEMALLOC);
> -
> kref_init(&obj->refcount);
> kref_init(&obj->handlecount);
> obj->size = size;

I've applied this patch and I'm testing it right now.
Btw. what this patch will do from user(my) point of view?

OOM Killer disappear :)

Looks like the patch works... no oom kills so far.

Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/