Ignore:
Timestamp:
Mar 15, 2017, 2:42:58 AM (5 months ago)
Author:
brainslayer
Message:

use new squashfs in all kernels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-4.9/mm/mlock.c

    r31574 r31662  
    442442        while (start < end) {
    443443                struct page *page;
    444                 unsigned int page_mask;
     444                unsigned int page_mask = 0;
    445445                unsigned long page_increm;
    446446                struct pagevec pvec;
     
    456456                 * has sneaked into the range, we won't oops here: great).
    457457                 */
    458                 page = follow_page_mask(vma, start, FOLL_GET | FOLL_DUMP,
    459                                 &page_mask);
     458                page = follow_page(vma, start, FOLL_GET | FOLL_DUMP);
    460459
    461460                if (page && !IS_ERR(page)) {
     
    468467                                 * Any THP page found by follow_page_mask() may
    469468                                 * have gotten split before reaching
    470                                  * munlock_vma_page(), so we need to recompute
    471                                  * the page_mask here.
     469                                 * munlock_vma_page(), so we need to compute
     470                                 * the page_mask here instead.
    472471                                 */
    473472                                page_mask = munlock_vma_page(page);
Note: See TracChangeset for help on using the changeset viewer.