Shaohua Li
1998cc0489
mm: make madvise(MADV_WILLNEED) support swap file prefetch
...
Make madvise(MADV_WILLNEED) support swap file prefetch. If memory is
swapout, this syscall can do swapin prefetch. It has no impact if the
memory isn't swapout.
[akpm@linux-foundation.org: fix CONFIG_SWAP=n build]
[sasha.levin@oracle.com: fix BUG on madvise early failure]
Signed-off-by: Shaohua Li <shli@fusionio.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-23 17:50:10 -08:00
..
2013-02-21 17:22:19 -08:00
2012-12-11 17:22:26 -08:00
2013-01-29 19:32:59 -08:00
2013-02-21 17:22:20 -08:00
2012-05-29 23:28:33 -04:00
2013-02-23 17:50:10 -08:00
2011-12-06 09:24:07 +01:00
2012-12-11 17:22:24 -08:00
2012-09-26 22:20:08 -04:00
2012-01-03 22:54:56 -05:00
2012-10-09 16:22:58 +09:00
2013-02-21 17:22:19 -08:00
2012-10-19 13:37:57 -07:00
2012-09-21 10:38:12 -04:00
2012-12-20 08:37:05 -08:00
2013-02-23 17:50:10 -08:00
2012-12-18 15:02:15 -08:00
2013-02-23 17:50:09 -08:00
2012-07-31 18:42:43 -07:00
2011-07-26 16:49:47 -07:00
2013-01-11 14:54:56 -08:00
2012-10-09 16:22:42 +09:00
2013-02-21 17:38:49 -08:00
2012-01-10 16:30:42 -08:00
2010-03-30 22:02:32 +09:00
2011-01-27 18:31:51 +00:00
2012-12-18 15:02:15 -08:00
2013-02-23 17:50:10 -08:00
2011-10-31 09:20:12 -04:00
2013-02-23 17:50:10 -08:00
2012-12-11 17:22:26 -08:00
2013-01-29 19:32:57 -08:00
2013-02-23 17:50:09 -08:00
2012-12-18 15:02:15 -08:00
2012-12-16 15:18:08 -08:00
2013-02-23 17:50:09 -08:00
2013-01-02 17:32:13 -08:00
2012-06-25 11:53:47 +02:00
2013-02-05 20:38:47 +11:00
2012-03-21 17:54:54 -07:00
2013-02-12 14:34:00 -08:00
2011-10-31 09:20:12 -04:00
2013-02-19 18:19:48 -08:00
2012-03-21 17:54:59 -07:00
2012-10-25 14:37:53 -07:00
2012-11-16 14:33:04 -08:00
2012-12-18 15:02:15 -08:00
2013-02-07 20:50:54 +01:00
2010-05-21 18:31:21 -04:00
2013-01-29 19:32:59 -08:00
2013-02-07 20:50:54 +01:00
2013-02-23 17:50:08 -08:00
2013-02-23 17:50:10 -08:00
2012-12-12 17:38:32 -08:00
2012-07-31 18:42:47 -07:00
2013-01-04 16:11:46 -08:00
2013-02-21 17:22:20 -08:00
2012-12-12 17:38:31 -08:00
2010-10-02 10:28:42 +03:00
2012-06-20 14:39:36 -07:00
2012-12-02 06:23:04 -08:00
2012-12-11 14:28:34 +00:00
2012-05-31 17:49:32 -07:00
2011-10-31 09:20:11 -04:00
2012-09-26 22:20:08 -04:00
2013-02-14 15:55:23 +01:00
2013-01-02 09:27:10 -08:00
2012-12-18 15:02:14 -08:00
2012-12-18 15:02:15 -08:00
2012-12-18 15:02:14 -08:00
2012-12-18 15:02:14 -08:00
2012-12-18 15:02:15 -08:00
2011-10-31 09:20:11 -04:00
2012-12-11 17:22:23 -08:00
2012-07-31 18:42:47 -07:00
2012-10-09 16:22:55 +09:00
2012-12-11 17:22:27 -08:00
2012-12-20 18:46:29 -05:00
2012-10-28 19:29:19 +01:00
2012-12-11 17:22:22 -08:00
2013-02-23 17:50:10 -08:00
2012-12-16 15:18:08 -08:00