Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1373657
| From | Cyrill Gorcunov <gorcunov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged |
| Date | 2016-04-07 21:00 +0200 |
| Message-ID | <rlnjQ-8fc-7@gated-at.bofh.it> (permalink) |
| References | <rllUJ-7og-11@gated-at.bofh.it> <rllUJ-7og-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Apr 07, 2016 at 08:28:01PM +0300, Ebru Akagunduz wrote: ... > + swap = get_mm_counter(mm, MM_SWAPENTS); > + curr_allocstall = sum_vm_event(ALLOCSTALL); > + /* > + * When system under pressure, don't swapin readahead. > + * So that avoid unnecessary resource consuming. > + */ > + if (allocstall == curr_allocstall && swap !=) > + __collapse_huge_page_swapin(mm, vma, address, pmd); This !=) looks like someone got fun ;)
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged Ebru Akagunduz <ebru.akagunduz@gmail.com> - 2016-04-07 19:30 +0200
Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged Rik van Riel <riel@redhat.com> - 2016-04-07 19:40 +0200
Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged kbuild test robot <lkp@intel.com> - 2016-04-07 19:50 +0200
Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged Cyrill Gorcunov <gorcunov@gmail.com> - 2016-04-07 21:00 +0200
Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged Rik van Riel <riel@redhat.com> - 2016-04-07 21:40 +0200
Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged Cyrill Gorcunov <gorcunov@gmail.com> - 2016-04-07 21:50 +0200
Re: [PATCH v5 2/2] mm, thp: avoid unnecessary swapin in khugepaged Ebru Akagunduz <ebru.akagunduz@gmail.com> - 2016-04-07 22:20 +0200
csiph-web