Lines Matching defs:high
113 /* prevent >1 _updater_ of zone percpu pageset ->high and ->batch fields */
287 * 1G machine -> (16M dma, 800M-16M normal, 1G-800M high)
288 * 1G machine -> (16M dma, 784M normal, 224M high)
362 * many cases very high-order allocations like THP are likely to be
871 * have trouble finding a high-order free page.
978 * At a high level, all that happens here is marking the table entry
2099 * so the pcpu batch and high limits needs to be updated or the limits
2171 int low, int high, int migratetype)
2173 unsigned long size = 1 << high;
2175 while (high > low) {
2176 high--;
2186 if (set_page_guard(zone, &page[size], high, migratetype))
2189 add_to_free_list(&page[size], zone, high, migratetype);
2190 set_buddy_order(&page[size], high);
2499 * high watermark may be uninitialised if fragmentation occurs
2639 * Reserve a pageblock for exclusive use of high-order atomic allocations if
2677 * potentially hurts the reliability of high-order allocations when under
2699 * is really high.
3228 if (pcp->count >= pcp->high) {
3324 * emulate a high-order watermark check with a raised order-0
3325 * watermark, because we already know our high-order page
3491 * reserved for high-order atomic allocation, so order-0
3609 * the high-atomic reserves. This will over-estimate the size of the
3625 * Return true if free base pages are above 'mark'. For high-order checks it
3659 * are not met, then a high-order request also cannot go ahead
3669 /* For a high-order request, check at least one suitable page is free */
3720 /* reserved may over estimate high-atomic reserves. */
3859 * lowmem reserves and high watermark so that kswapd
3948 * If this is a high-order atomic allocation then check
4068 * Go through the zonelist yet one more time, keep very high watermark
4135 /* Try memory compaction for high-order allocations before reclaim */
4427 * pages are pinned on the per-cpu lists or in high alloc reserves.
4567 * their order will become available due to high fragmentation so
4747 * movable high-order allocations, do that as well, as compaction will
4779 * bursty high order allocations,
4810 * ignored. These allocations are high priority and system rather than
4855 * Do not retry costly high order allocations unless they are
5080 * you need to access high mem.
5377 * nr_free_zone_pages - count number of pages beyond high watermark
5381 * high watermark within all zones at or below a given zone index. For each
5386 * Return: number of pages beyond high watermark.
5400 unsigned long high = high_wmark_pages(zone);
5401 if (size > high)
5402 sum += size - high;
5409 * nr_free_buffer_pages - count number of pages beyond high watermark
5411 * nr_free_buffer_pages() counts the number of pages which are beyond the high
5414 * Return: number of pages beyond high watermark within ZONE_DMA and
5690 " high:%lukB"
6157 /* Get the number of free pages beyond high watermark in all zones. */
6512 * fragmented and becoming unavailable for high-order allocations.
6519 * pcp->high and pcp->batch values are related and dependent on one another:
6520 * ->batch must never be higher then ->high.
6524 * Any new users of pcp->batch and pcp->high should ensure they can cope with
6531 static void pageset_update(struct per_cpu_pages *pcp, unsigned long high,
6538 /* Update high, then batch, in order */
6539 pcp->high = high;
6570 * pageset_set_high() sets the high water mark for hot per_cpu_pagelist
6571 * to the value high for the pageset p.
6574 unsigned long high)
6576 unsigned long batch = max(1UL, high / 4);
6577 if ((high / 4) > (PAGE_SHIFT * 8))
6580 pageset_update(&p->pcp, high, batch);
7580 /* Any regular or high memory on that node ? */
7964 /* we treat the high watermark as reserved pages. */
8079 * Ensures that the watermark[min,low,high] values for each zone are set
8276 * percpu_pagelist_fraction - changes the pcp->high for each zone on each
8909 * page high values need to be recalulated.
9009 struct page *target, int low, int high,
9012 unsigned long size = 1 << high;
9015 while (high > low) {
9016 high--;
9028 if (set_page_guard(zone, current_buddy, high, migratetype))
9032 add_to_free_list(current_buddy, zone, high, migratetype);
9033 set_buddy_order(current_buddy, high);