projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da5efc4
)
page-flags: define PG_swapcache behavior on compound pages
author
Kirill A. Shutemov
<
[email protected]
>
Sat, 16 Jan 2016 00:51:49 +0000
(16:51 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 16 Jan 2016 01:56:32 +0000
(17:56 -0800)
Swap cannot handle compound pages so far. Transparent huge pages are
split on the way to swap.
Signed-off-by: Kirill A. Shutemov <
[email protected]
>
Cc: Andrea Arcangeli <
[email protected]
>
Cc: Hugh Dickins <
[email protected]
>
Cc: Dave Hansen <
[email protected]
>
Cc: Mel Gorman <
[email protected]
>
Cc: Rik van Riel <
[email protected]
>
Cc: Vlastimil Babka <
[email protected]
>
Cc: Christoph Lameter <
[email protected]
>
Cc: Naoya Horiguchi <
[email protected]
>
Cc: Steve Capper <
[email protected]
>
Cc: "Aneesh Kumar K.V" <
[email protected]
>
Cc: Johannes Weiner <
[email protected]
>
Cc: Michal Hocko <
[email protected]
>
Cc: Jerome Marchand <
[email protected]
>
Cc: Jérôme Glisse <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/page-flags.h
patch
|
blob
|
history
diff --git
a/include/linux/page-flags.h
b/include/linux/page-flags.h
index eda487ecc01c874fdcf89056e2dfc05a51a5716e..7fc2ea83cbd57506e128358216af623f8d7c5d49 100644
(file)
--- a/
include/linux/page-flags.h
+++ b/
include/linux/page-flags.h
@@
-318,7
+318,7
@@
PAGEFLAG_FALSE(HighMem)
#endif
#ifdef CONFIG_SWAP
-PAGEFLAG(SwapCache, swapcache, PF_
ANY
)
+PAGEFLAG(SwapCache, swapcache, PF_
NO_COMPOUND
)
#else
PAGEFLAG_FALSE(SwapCache)
#endif