huge_memory.c (2e3468778dbe3ec389a10c21a703bb8e5be5cfbc) huge_memory.c (ec1c86b25f4bdd9dce6436c0539d2a6ae676e1c4)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2009 Red Hat, Inc.
4 */
5
6#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
7
8#include <linux/mm.h>

--- 2430 unchanged lines hidden (view full) ---

2439 (1L << PG_uptodate) |
2440 (1L << PG_active) |
2441 (1L << PG_workingset) |
2442 (1L << PG_locked) |
2443 (1L << PG_unevictable) |
2444#ifdef CONFIG_64BIT
2445 (1L << PG_arch_2) |
2446#endif
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2009 Red Hat, Inc.
4 */
5
6#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
7
8#include <linux/mm.h>

--- 2430 unchanged lines hidden (view full) ---

2439 (1L << PG_uptodate) |
2440 (1L << PG_active) |
2441 (1L << PG_workingset) |
2442 (1L << PG_locked) |
2443 (1L << PG_unevictable) |
2444#ifdef CONFIG_64BIT
2445 (1L << PG_arch_2) |
2446#endif
2447 (1L << PG_dirty)));
2447 (1L << PG_dirty) |
2448 LRU_GEN_MASK | LRU_REFS_MASK));
2448
2449 /* ->mapping in first tail page is compound_mapcount */
2450 VM_BUG_ON_PAGE(tail > 2 && page_tail->mapping != TAIL_MAPPING,
2451 page_tail);
2452 page_tail->mapping = head->mapping;
2453 page_tail->index = head->index + tail;
2454 page_tail->private = 0;
2455

--- 813 unchanged lines hidden ---
2449
2450 /* ->mapping in first tail page is compound_mapcount */
2451 VM_BUG_ON_PAGE(tail > 2 && page_tail->mapping != TAIL_MAPPING,
2452 page_tail);
2453 page_tail->mapping = head->mapping;
2454 page_tail->index = head->index + tail;
2455 page_tail->private = 0;
2456

--- 813 unchanged lines hidden ---