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] |
On Fri, May 23, 2014 at 02:12:20PM +0800, lin zuojian wrote: > 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? Sorry, mmap allocations consider commit charge, not the OOM killer. I misremembered a previous discussion. Siddhesh
Attachment:
pgpKEIEHwhOl_.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |