Re: [PATCH 02/10] xtensa: Remove uses of PG_arch_1 on individual pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The fix for this particular file looks good,
but some other architectures still use page->flags
to test/set PG_arch_1 aliases:

./arch/arc/include/asm/cacheflush.h:#define PG_dc_clean PG_arch_1
./arch/arm/include/asm/cacheflush.h:#define PG_dcache_clean PG_arch_1
./arch/arm64/include/asm/cacheflush.h:#define PG_dcache_clean PG_arch_1

(in arch): grep -rI . -e 'page->flags'

./s390/include/asm/hugetlb.h:   clear_bit(PG_arch_1, &page->flags);
./s390/kernel/uv.c:             clear_bit(PG_arch_1, &page->flags);
./s390/kernel/uv.c:             clear_bit(PG_arch_1, &page->flags);
./s390/kernel/uv.c:     set_bit(PG_arch_1, &page->flags);
./s390/kernel/uv.c:     if (!test_bit(PG_arch_1, &page->flags))
./s390/kernel/uv.c:             clear_bit(PG_arch_1, &page->flags);
./s390/kernel/uv.c:             clear_bit(PG_arch_1, &page->flags);
./s390/mm/gmap.c:       set_bit(PG_arch_1, &page->flags);
./s390/mm/hugetlbpage.c: if (!test_and_set_bit(PG_arch_1, &page->flags))
./sh/include/asm/hugetlb.h: clear_bit(PG_dcache_clean, &page->flags);
./sh/mm/cache-sh4.c:     test_bit(PG_dcache_clean, &page->flags) &&

... (not an exhaustive list) ...

But at least for xtensa, this LGTM.

Reviewed-by: Svetly Todorov <svetly.todorov@xxxxxxxxxxxx>

Svetly




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux