Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1207138
| From | David Rientjes <rientjes@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: get_vmalloc_info() and /proc/meminfo insanely expensive |
| Date | 2015-08-13 22:00 +0200 |
| Message-ID | <pX6Pn-4SL-3@gated-at.bofh.it> (permalink) |
| References | <pWRnk-7WT-1@gated-at.bofh.it> <pWS01-tB-7@gated-at.bofh.it> <pWTIu-2Kb-1@gated-at.bofh.it> <pX5zY-32e-13@gated-at.bofh.it> <pX5Tk-3pd-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 13 Aug 2015, Linus Torvalds wrote: > On Thu, Aug 13, 2015 at 11:32 AM, Linus Torvalds > <torvalds@linux-foundation.org> wrote: > > > > Here's a totally untested patch (I'll reboot and test soon - it does > > at least compile for me). > > Seems to work for me. Anybody want to object to the admittedly disgusting patch? > Rather than a time based approach, why not invalidate when it is known to change, either on the next call to get_vmalloc_info() or as part of the vmalloc operation itself? If the numbers don't change during your test, this would seem better and I don't think any vmalloc() function is intended to be hot. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
get_vmalloc_info() and /proc/meminfo insanely expensive Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-13 05:30 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Andrew Morton <akpm@linux-foundation.org> - 2015-08-13 06:10 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-13 08:00 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-08-13 09:50 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-13 19:00 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-13 20:40 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-13 21:00 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive David Rientjes <rientjes@google.com> - 2015-08-13 22:00 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-13 22:10 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Tony Luck <tony.luck@gmail.com> - 2015-08-13 23:30 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-14 01:00 +0200
Re: get_vmalloc_info() and /proc/meminfo insanely expensive Andrew Morton <akpm@linux-foundation.org> - 2015-08-13 22:30 +0200
csiph-web