diff options
author | Jan Kara <[email protected]> | 2019-02-01 14:20:27 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-02-01 15:46:23 -0800 |
commit | 80409c65e2c6cd1540045ee01fc55e50d95e0983 (patch) | |
tree | e186635a86a9658b3d72b5adfad1f36240c3e654 /tools/perf | |
parent | 8fb335e078378c8426fabeed1ebee1fbf915690c (diff) |
mm: migrate: make buffer_migrate_page_norefs() actually succeed
Currently, buffer_migrate_page_norefs() was constantly failing because
buffer_migrate_lock_buffers() grabbed reference on each buffer. In
fact, there's no reason for buffer_migrate_lock_buffers() to grab any
buffer references as the page is locked during all our operation and
thus nobody can reclaim buffers from the page.
So remove grabbing of buffer references which also makes
buffer_migrate_page_norefs() succeed.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 89cb0888ca14 "mm: migrate: provide buffer_migrate_page_norefs()"
Signed-off-by: Jan Kara <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Pavel Machek <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Zi Yan <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions