This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Propose to Use madvise API on Runtime Loader


Hi Siddhesh,
On Fri, May 23, 2014 at 11:32:55AM +0530, Siddhesh Poyarekar wrote:
> The OOM killer considers commit charge and MADV_DONTNEED does not
> affect commit charge, so the call would be largely useless.
> 
the oom_kill.c (oom_badness):
	points = get_mm_rss(p->mm) + atomic_long_read(&p->mm->nr_ptes) +
		 get_mm_counter(p->mm, MM_SWAPENTS);

what do you think these code means?

> Siddhesh



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]