mirror of https://github.com/torvalds/linux.git
In the current code, the value of fallback_migratetype that is printed using the mm_page_alloc_extfrag tracepoint, is the value of the migratetype *after* it has been set to the preferred migratetype (if the ownership was changed). Obviously that wouldn't have been the original intent. (We already have a separate 'change_ownership' field to tell whether the ownership of the pageblock was changed from the fallback_migratetype to the preferred type.) The intent of the fallback_migratetype field is to show the migratetype from which we borrowed pages in order to satisfy the allocation request. So fix the code to print that value correctly. Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Minchan Kim <minchan@kernel.org> Cc: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| 9p.h | ||
| asoc.h | ||
| bcache.h | ||
| block.h | ||
| btrfs.h | ||
| compaction.h | ||
| context_tracking.h | ||
| ext3.h | ||
| ext4.h | ||
| f2fs.h | ||
| filemap.h | ||
| gfpflags.h | ||
| gpio.h | ||
| host1x.h | ||
| irq.h | ||
| jbd.h | ||
| jbd2.h | ||
| kmem.h | ||
| kvm.h | ||
| lock.h | ||
| mce.h | ||
| migrate.h | ||
| module.h | ||
| napi.h | ||
| net.h | ||
| nmi.h | ||
| oom.h | ||
| pagemap.h | ||
| power.h | ||
| printk.h | ||
| random.h | ||
| ras.h | ||
| rcu.h | ||
| regmap.h | ||
| regulator.h | ||
| rpm.h | ||
| sched.h | ||
| scsi.h | ||
| signal.h | ||
| skb.h | ||
| sock.h | ||
| sunrpc.h | ||
| syscalls.h | ||
| target.h | ||
| task.h | ||
| timer.h | ||
| udp.h | ||
| vmscan.h | ||
| workqueue.h | ||
| writeback.h | ||
| xen.h | ||