Home
last modified time | relevance | path

Searched full:page (Results 1 – 25 of 4886) sorted by relevance

12345678910>>...196

/linux-6.12.1/include/linux/
Dballoon_compaction.h7 * Balloon page migration makes use of the general non-lru movable page
10 * page->private is used to reference the responsible balloon device.
11 * page->mapping is used in context of non-lru page migration to reference
12 * the address space operations for page isolation/migration/compaction.
14 * As the page isolation scanning step a compaction thread does is a lockless
15 * procedure (from a page standpoint), it might bring some racy situations while
16 * performing balloon page compaction. In order to sort out these racy scenarios
17 * and safely perform balloon's page compaction and migration we must, always,
20 * i. when updating a balloon's page ->mapping element, strictly do it under
23 * +-page_lock(page);
[all …]
Dpage_ref.h7 #include <linux/page-flags.h>
29 extern void __page_ref_set(struct page *page, int v);
30 extern void __page_ref_mod(struct page *page, int v);
31 extern void __page_ref_mod_and_test(struct page *page, int v, int ret);
32 extern void __page_ref_mod_and_return(struct page *page, int v, int ret);
33 extern void __page_ref_mod_unless(struct page *page, int v, int u);
34 extern void __page_ref_freeze(struct page *page, int v, int ret);
35 extern void __page_ref_unfreeze(struct page *page, int v);
41 static inline void __page_ref_set(struct page *page, int v) in __page_ref_set() argument
44 static inline void __page_ref_mod(struct page *page, int v) in __page_ref_mod() argument
[all …]
Dpage-flags.h3 * Macros for manipulating and testing page->flags
18 * Various page->flags bits:
20 * PG_reserved is set for special pages. The "struct page" of such a page
25 * - Pages reserved or allocated early during boot (before the page allocator
27 * initial vmemmap, initial page tables, crashkernel, elfcorehdr, and much
29 * be given to the page allocator.
32 * - The zero page(s)
44 * Consequently, PG_reserved for a page mapped into user space can indicate
45 * the zero page, the vDSO, MMIO pages or device memory.
48 * specific data (which is normally at page->private). It can be used by
[all …]
Dhighmem-internal.h10 void *__kmap_local_page_prot(struct page *page, pgprot_t prot);
35 void *kmap_high(struct page *page);
36 void kunmap_high(struct page *page);
38 struct page *__kmap_to_page(void *addr);
40 static inline void *kmap(struct page *page) in kmap() argument
45 if (!PageHighMem(page)) in kmap()
46 addr = page_address(page); in kmap()
48 addr = kmap_high(page); in kmap()
53 static inline void kunmap(struct page *page) in kunmap() argument
56 if (!PageHighMem(page)) in kunmap()
[all …]
Dpage_owner.h11 extern void __reset_page_owner(struct page *page, unsigned short order);
12 extern void __set_page_owner(struct page *page,
14 extern void __split_page_owner(struct page *page, int old_order,
17 extern void __set_page_owner_migrate_reason(struct page *page, int reason);
18 extern void __dump_page_owner(const struct page *page);
22 static inline void reset_page_owner(struct page *page, unsigned short order) in reset_page_owner() argument
25 __reset_page_owner(page, order); in reset_page_owner()
28 static inline void set_page_owner(struct page *page, in set_page_owner() argument
32 __set_page_owner(page, order, gfp_mask); in set_page_owner()
35 static inline void split_page_owner(struct page *page, int old_order, in split_page_owner() argument
[all …]
/linux-6.12.1/drivers/iommu/
Diommu-pages.h15 * All page allocations that should be reported to as "iommu-pagetables" to
17 * page-tables and other per-iommu_domain configuration structures.
24 * __iommu_alloc_account - account for newly allocated page.
25 * @page: head struct page of the page.
26 * @order: order of the page
28 static inline void __iommu_alloc_account(struct page *page, int order) in __iommu_alloc_account() argument
32 mod_node_page_state(page_pgdat(page), NR_IOMMU_PAGES, pgcnt); in __iommu_alloc_account()
33 mod_lruvec_page_state(page, NR_SECONDARY_PAGETABLE, pgcnt); in __iommu_alloc_account()
37 * __iommu_free_account - account a page that is about to be freed.
38 * @page: head struct page of the page.
[all …]
/linux-6.12.1/include/net/page_pool/
Dhelpers.h11 * The page_pool allocator is optimized for recycling page or page fragment used
15 * which allocate memory with or without page splitting depending on the
19 * always smaller than half a page, it can use one of the more specific API
22 * 1. page_pool_alloc_pages(): allocate memory without page splitting when
23 * driver knows that the memory it need is always bigger than half of the page
24 * allocated from page pool. There is no cache line dirtying for 'struct page'
25 * when a page is recycled back to the page pool.
27 * 2. page_pool_alloc_frag(): allocate memory with page splitting when driver
29 * page allocated from page pool. Page splitting enables memory saving and thus
31 * implement page splitting, mainly some cache line dirtying/bouncing for
[all …]
/linux-6.12.1/mm/
Dballoon_compaction.c15 struct page *page) in balloon_page_enqueue_one() argument
18 * Block others from accessing the 'page' when we get around to in balloon_page_enqueue_one()
20 * holding a reference to the 'page' at this point. If we are not, then in balloon_page_enqueue_one()
23 BUG_ON(!trylock_page(page)); in balloon_page_enqueue_one()
24 balloon_page_insert(b_dev_info, page); in balloon_page_enqueue_one()
25 unlock_page(page); in balloon_page_enqueue_one()
30 * balloon_page_list_enqueue() - inserts a list of pages into the balloon page
32 * @b_dev_info: balloon device descriptor where we will insert a new page to
43 struct page *page, *tmp; in balloon_page_list_enqueue() local
48 list_for_each_entry_safe(page, tmp, pages, lru) { in balloon_page_list_enqueue()
[all …]
Dpage_isolation.c7 #include <linux/page-isolation.h>
28 * Returns a page without holding a reference. If the caller wants to
29 * dereference that page (e.g., dumping), it has to make sure that it
33 static struct page *has_unmovable_pages(unsigned long start_pfn, unsigned long end_pfn, in has_unmovable_pages()
36 struct page *page = pfn_to_page(start_pfn); in has_unmovable_pages() local
37 struct zone *zone = page_zone(page); in has_unmovable_pages()
43 if (is_migrate_cma_page(page)) { in has_unmovable_pages()
52 return page; in has_unmovable_pages()
56 page = pfn_to_page(pfn); in has_unmovable_pages()
64 if (PageReserved(page)) in has_unmovable_pages()
[all …]
Dfolio-compat.c13 void unlock_page(struct page *page) in unlock_page() argument
15 return folio_unlock(page_folio(page)); in unlock_page()
19 void end_page_writeback(struct page *page) in end_page_writeback() argument
21 return folio_end_writeback(page_folio(page)); in end_page_writeback()
25 void wait_on_page_writeback(struct page *page) in wait_on_page_writeback() argument
27 return folio_wait_writeback(page_folio(page)); in wait_on_page_writeback()
31 void wait_for_stable_page(struct page *page) in wait_for_stable_page() argument
33 return folio_wait_stable(page_folio(page)); in wait_for_stable_page()
37 void mark_page_accessed(struct page *page) in mark_page_accessed() argument
39 folio_mark_accessed(page_folio(page)); in mark_page_accessed()
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/snowridgex/
Dvirtual-memory.json3 …"BriefDescription": "Counts the number of page walks due to loads that miss the PDE (Page Director…
11 … second level hits due to a demand load that did not start a page walk. Account for all page sizes…
19 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page
23page walks completed due to loads (including SW prefetches) whose address translations missed in a…
28 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 1G pag…
32page walks completed due to loads (including SW prefetches) whose address translations missed in a…
37 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or …
41page walks completed due to loads (including SW prefetches) whose address translations missed in a…
46 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K pag…
50page walks completed due to loads (including SW prefetches) whose address translations missed in a…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/elkhartlake/
Dvirtual-memory.json3 …"BriefDescription": "Counts the number of page walks due to loads that miss the PDE (Page Director…
11 … second level hits due to a demand load that did not start a page walk. Account for all page sizes…
19 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page
23page walks completed due to loads (including SW prefetches) whose address translations missed in a…
28 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 1G pag…
32page walks completed due to loads (including SW prefetches) whose address translations missed in a…
37 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or …
41page walks completed due to loads (including SW prefetches) whose address translations missed in a…
46 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K pag…
50page walks completed due to loads (including SW prefetches) whose address translations missed in a…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/meteorlake/
Dvirtual-memory.json3 …second level hits due to a demand load that did not start a page walk. Accounts for all page sizes…
22 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
27 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
33 "BriefDescription": "Counts the number of page walks completed due to load DTLB misses.",
42 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
46 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
52 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
56 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
62 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or …
66page walks completed due to loads (including SW prefetches) whose address translations missed in a…
[all …]
/linux-6.12.1/sound/pci/trident/
Dtrident_memory.c7 * Trident 4DWave-NX memory page allocation (TLB area)
19 /* page arguments of these two macros are Trident page (4096 bytes), not like
22 #define __set_tlb_bus(trident,page,addr) \ argument
23 (trident)->tlb.entries[page] = cpu_to_le32((addr) & ~(SNDRV_TRIDENT_PAGE_SIZE-1))
24 #define __tlb_to_addr(trident,page) \ argument
25 (dma_addr_t)le32_to_cpu((trident->tlb.entries[page]) & ~(SNDRV_TRIDENT_PAGE_SIZE - 1))
28 /* page size == SNDRV_TRIDENT_PAGE_SIZE */
29 #define ALIGN_PAGE_SIZE PAGE_SIZE /* minimum page size for allocation */
31 /* fill TLB entrie(s) corresponding to page with ptr */
32 #define set_tlb_bus(trident,page,addr) __set_tlb_bus(trident,page,addr) argument
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/skylake/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
7 …"PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/…
21 …efDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk d…
26 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
31 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
35 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
40 "BriefDescription": "Page walk completed due to a demand data load to a 1G page",
44 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
49 "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page",
53 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/cascadelakex/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
7 …"PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/…
21 …efDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk d…
26 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
31 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
35 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
40 "BriefDescription": "Page walk completed due to a demand data load to a 1G page",
44 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
49 "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page",
53 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/skylakex/
Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
7 …"PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/…
21 …efDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk d…
26 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
31 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
35 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
40 "BriefDescription": "Page walk completed due to a demand data load to a 1G page",
44 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
49 "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page",
53 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/alderlake/
Dvirtual-memory.json13 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
18 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
24 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page
28page walks completed due to loads (including SW prefetches) whose address translations missed in a…
34 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
38 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
44 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
48 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
54 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
58 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/emeraldrapids/
Dvirtual-memory.json12 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
17 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
22 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
26 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
31 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
35 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
40 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
44 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
49 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
53 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/graniterapids/
Dvirtual-memory.json12 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
17 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
22 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
26 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
31 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
35 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
40 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
44 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
49 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
53 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/sapphirerapids/
Dvirtual-memory.json12 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
17 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
22 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
26 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
31 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
35 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
40 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
44 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
49 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
53 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed…
[all …]
/linux-6.12.1/Documentation/trace/
Dring-buffer-design.rst40 - A page outside the ring buffer used solely (for the most part)
44 - a pointer to the page that the reader will use next
47 - a pointer to the page that will be written to next
50 - a pointer to the page with the last finished non-nested write.
110 At initialization a reader page is allocated for the reader that is not
114 to the same page.
116 The reader page is initialized to have its next pointer pointing to
117 the head page, and its previous pointer pointing to a page before
118 the head page.
120 The reader has its own page to use. At start up time, this page is
[all …]
/linux-6.12.1/arch/arm/include/asm/
Dpage.h3 * arch/arm/include/asm/page.h
10 /* PAGE_SHIFT determines the page size */
19 #include <asm/page-nommu.h>
30 * page-based copying and clearing for user space for the particular
107 struct page;
111 void (*cpu_clear_user_highpage)(struct page *page, unsigned long vaddr);
112 void (*cpu_copy_user_highpage)(struct page *to, struct page *from,
116 void fa_copy_user_highpage(struct page *to, struct page *from,
118 void fa_clear_user_highpage(struct page *page, unsigned long vaddr);
119 void feroceon_copy_user_highpage(struct page *to, struct page *from,
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/goldmontplus/
Dvirtual-memory.json3 "BriefDescription": "Page walk completed due to a demand load to a 1GB page",
7page walks completed due to demand data loads (including SW prefetches) whose address translations…
12 "BriefDescription": "Page walk completed due to a demand load to a 2M or 4M page",
16page walks completed due to demand data loads (including SW prefetches) whose address translations…
21 "BriefDescription": "Page walk completed due to a demand load to a 4K page",
25page walks completed due to demand data loads (including SW prefetches) whose address translations…
30 "BriefDescription": "Page walks outstanding due to a demand load every cycle.",
34 …cycle for each page walk occurring due to a load (demand data loads or SW prefetches). Includes cy…
39 "BriefDescription": "Page walk completed due to a demand data store to a 1GB page",
43page walks completed due to demand data stores whose address translations missed in the TLB and we…
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/icelakex/
Dvirtual-memory.json12 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.",
17 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa…
22 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size…
26 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th…
31 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.",
35 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed…
40 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.",
44 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss…
49 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.",
53 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed…
[all …]

12345678910>>...196