projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGE
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
mm
/
mlock.c
diff --git
a/mm/mlock.c
b/mm/mlock.c
index
b30adbe
..
4e1a681
100644
(file)
--- a/
mm/mlock.c
+++ b/
mm/mlock.c
@@
-279,8
+279,8
@@
static int __mlock_posix_error_return(long retval)
static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec,
int *pgrescued)
{
static bool __putback_lru_fast_prepare(struct page *page, struct pagevec *pvec,
int *pgrescued)
{
- VM_BUG_ON
(PageLRU(page)
);
- VM_BUG_ON
(!PageLocked(page)
);
+ VM_BUG_ON
_PAGE(PageLRU(page), page
);
+ VM_BUG_ON
_PAGE(!PageLocked(page), page
);
if (page_mapcount(page) <= 1 && page_evictable(page)) {
pagevec_add(pvec, page);
if (page_mapcount(page) <= 1 && page_evictable(page)) {
pagevec_add(pvec, page);