Re: OOM-Killer kills too much with 2.6.32.2

From: KOSAKI Motohiro
Date: Tue Jan 26 2010 - 19:14:56 EST


> > - 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 :)




--
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/